/*!
 * 前台（游客可见）帮助中心样式
 * 参考 https://www.lingxing.com/help 的配色与布局
 */

:root {
    --lx-primary: #2554fe;
    --lx-primary-active: #005bf5;
    --lx-primary-light: #3572ff;
    --lx-title: #17191c;
    --lx-text: #585b66;
    --lx-body: #5c5e66;
    --lx-muted: #9b9ea9;
    --lx-border: #e9ecf2;
    --lx-card-head: #f8f9ff;
}

/* ============ 全局布局 ============ */
.lx-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background: #fff;
}

/* ============ 顶部导航 ============ */
.lx-header-wrap {
    width: 100%;
    height: 3.75rem;
    flex: none;
    background-color: #fff;
    border-bottom: 1px solid var(--lx-border);
    /* 抬高层级，保证语言切换下拉不被正文遮挡 */
    position: relative;
    z-index: 100;
}

.lx-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.lx-logo {
    display: flex;
    align-items: center;
    flex: none;
}

.lx-logo img.lx-logo-img {
    height: 2.125rem;   /* 34px，与 60px 顶栏比例协调 */
    width: auto;
    max-width: 12rem;
    object-fit: contain;
    display: block;
}

.lx-split {
    width: 1px;
    height: 20px;
    margin: 0 8px;
    background-color: #dbdde5;
}

.lx-header .web-title {
    display: inline-block;
    color: #0c1017;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    margin-right: 16px;
    cursor: pointer;
    white-space: nowrap;
}

.lx-header .web-title.doc-title {
    color: #2554fe;
}

.lx-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lx-header-nav .web-title {
    margin-right: 0;
}

/* ============ 主体 ============ */
.lx-main {
    display: flex;
    flex: 1;
    flex-direction: row;
    height: fit-content;
    overflow-y: auto;
}

/* ============ 搜索结果页（对齐领星搜索页） ============ */
.lx-search-main {
    background: #fff;
    box-sizing: border-box;
    flex: 1;
    margin: 0 auto;
    max-width: 1280px;
    padding: 60px 24px 80px;
    width: 100%;
}

/* 顶部搜索框：蓝色描边胶囊 */
.lx-search-box {
    margin: 0 auto 64px;
    max-width: 672px;
    width: 100%;
}

.lx-search-box-inner {
    align-items: center;
    border: 1px solid var(--lx-primary);
    border-radius: 4px;
    display: flex;
    height: 48px;
    padding: 0 4px 0 16px;
    position: relative;
}

.lx-search-box-inner input[type="text"] {
    background: none;
    border: 0;
    color: var(--lx-title);
    flex: 1;
    font-family: inherit;
    font-size: 16px;
    height: 46px;
    line-height: 46px;
    min-width: 0;
    outline: none;
    padding: 0;
}

.lx-search-box-inner input[type="text"]:focus {
    border: 0;
    box-shadow: none;
    outline: none;
}

.lx-search-box-inner input[type="text"]::placeholder {
    color: var(--lx-muted);
}

.lx-search-box-icon {
    background: none;
    border: 0;
    color: var(--lx-muted);
    cursor: pointer;
    flex: none;
    font-size: 18px;
    height: 40px;
    padding: 0 8px;
}

.lx-search-box-icon:hover {
    color: var(--lx-primary);
}

.lx-search-box-back {
    border-left: 1px solid var(--lx-border);
    color: var(--lx-primary);
    flex: none;
    font-size: 14px;
    line-height: 20px;
    margin-left: 4px;
    padding: 0 12px 0 16px;
    text-decoration: none;
    white-space: nowrap;
}

.lx-search-box-back:hover {
    color: var(--lx-primary-light);
}

/* 结果统计 */
.lx-search-summary {
    color: var(--lx-muted);
    font-size: 14px;
    line-height: 22px;
    margin: 0 0 40px;
}

.lx-search-summary-kw {
    color: var(--lx-body);
}

.lx-search-summary-count {
    color: var(--lx-body);
    margin: 0 2px;
}

/* 筛选栏 */
.lx-search-filter {
    align-items: center;
    border-bottom: 1px solid var(--lx-border);
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    padding-bottom: 16px;
    width: 100%;
}

.lx-search-sort .lx-search-select:last-child {
    margin-right: 0;
}

.lx-search-tabs {
    display: flex;
    gap: 28px;
}

.lx-search-tab {
    color: var(--lx-text);
    font-size: 15px;
    line-height: 22px;
    padding-bottom: 2px;
    position: relative;
    text-decoration: none;
    transition: color .2s;
}

.lx-search-tab:hover {
    color: var(--lx-primary);
}

.lx-search-tab.active {
    color: var(--lx-primary);
    font-weight: 600;
}

.lx-search-tab.active::after {
    background: var(--lx-primary);
    border-radius: 2px;
    bottom: -17px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
}

.lx-search-sort {
    display: flex;
    gap: 12px;
}

.lx-search-select {
    background: #fff !important;
    border: 0 !important;
    border-radius: 4px;
    color: var(--lx-text) !important;
    cursor: pointer;
    flex: none;
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    max-width: 140px;
    padding: 0 8px;
}

.lx-search-select:hover {
    color: var(--lx-primary);
}

/* 结果条目 */
.lx-search-list {
    padding: 32px 0 8px;
}

.lx-search-item {
    margin-bottom: 36px;
}

.lx-search-item-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    margin: 0 0 10px;
}

.lx-search-item-title a {
    color: var(--lx-primary);
    text-decoration: none;
}

.lx-search-item-title a:hover {
    text-decoration: underline;
}

.lx-search-item-desc {
    color: var(--lx-body);
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 10px;
    overflow: hidden;
    word-break: break-word;
}

/* 关键词高亮 */
.lx-search-item-desc span[name="addSpan"] {
    background: #fff3d6;
    color: #d4380d !important;
    border-radius: 2px;
    padding: 0 1px;
}

/* 面包屑路径 */
.lx-search-item-path {
    align-items: center;
    color: var(--lx-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 4px;
    line-height: 20px;
}

.lx-search-item-path a {
    color: var(--lx-muted);
    text-decoration: none;
}

.lx-search-item-path a:hover {
    color: var(--lx-primary);
}

.lx-search-item-path .layui-icon {
    color: #c5c8d1;
    font-size: 10px;
}

.lx-search-empty {
    color: var(--lx-muted);
    font-size: 14px;
    padding: 60px 0;
    text-align: center;
}

/* 分页 */
.lx-search-pager {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 32px 0 8px;
}

.lx-search-pager-btn {
    background: #fff;
    border: 1px solid var(--lx-border);
    border-radius: 4px;
    color: var(--lx-text);
    font-size: 14px;
    line-height: 20px;
    padding: 6px 16px;
    text-decoration: none;
    transition: all .2s;
}

.lx-search-pager-btn:hover {
    border-color: var(--lx-primary);
    color: var(--lx-primary);
}

.lx-search-pager-btn.disabled {
    color: #c5c8d1;
    cursor: not-allowed;
}

.lx-search-pager-btn.disabled:hover {
    border-color: var(--lx-border);
    color: #c5c8d1;
}

.lx-search-pager-info {
    color: var(--lx-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .lx-search-main {
        padding: 32px 16px 60px;
    }

    .lx-search-box {
        margin-bottom: 40px;
    }

    .lx-search-tabs {
        gap: 20px;
    }
}

/* 英文环境下的"暂无英文版本"提示 */
.lx-lang-notice {
    align-items: center;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 4px;
    color: #ad6800;
    display: flex;
    font-size: 13px;
    gap: 6px;
    line-height: 20px;
    margin-bottom: 16px;
    padding: 8px 14px;
}

.lx-lang-notice .layui-icon {
    font-size: 14px;
}

/* ============ 顶栏语言切换：地球图标按钮 + 下拉面板 ============ */
.lx-lang-switch {
    flex: none;
    position: relative;
}

/* 触发按钮：默认无边框图标，展开时蓝色高亮块 */
.lx-lang-btn {
    align-items: center;
    background: none;
    border: 0;
    border-radius: 4px;
    color: var(--lx-text);
    cursor: pointer;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    padding: 0;
    transition: background .2s, color .2s;
    width: 40px;
}

/* 悬停或展开时，按钮呈蓝色实心块（与参考图一致） */
.lx-lang-btn:hover,
.lx-lang-switch.open .lx-lang-btn {
    background: var(--lx-primary);
    color: #fff;
}

.lx-lang-btn svg {
    display: block;
}

/* 下拉面板：白底圆角 + 大投影，选项较大 */
.lx-lang-dropdown {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 24px 0 rgba(0, 0, 0, .16);
    display: none;
    min-width: 132px;
    padding: 6px;
    position: absolute;
    right: 0;
    top: 48px;
    z-index: 1000;
}

/* 透明桥接区：填补按钮与面板之间的空隙，鼠标移入不中断悬停 */
.lx-lang-dropdown::before {
    content: "";
    height: 10px;
    left: 0;
    position: absolute;
    right: 0;
    top: -10px;
}

.lx-lang-switch.open .lx-lang-dropdown {
    display: block;
}

.lx-lang-dropdown a {
    border-radius: 4px;
    color: var(--lx-title);
    display: block;
    font-size: 16px;
    line-height: 24px;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.lx-lang-dropdown a:hover {
    background: #f5f7ff;
    color: var(--lx-primary);
}

/* 当前语言：浅蓝底 + 蓝字 */
.lx-lang-dropdown a.active {
    background: #e8f1ff;
    color: var(--lx-primary);
}

/* ============ 顶栏用户菜单（登录后） ============ */
.lx-user-menu {
    position: relative;
}

.lx-user-btn {
    align-items: center;
    background: #f5f6f7;
    border: 0;
    border-radius: 16px;
    color: var(--lx-title);
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    gap: 4px;
    height: 32px;
    line-height: 20px;
    padding: 0 12px;
    transition: background .2s;
}

.lx-user-btn:hover {
    background: #eef1ff;
    color: var(--lx-primary);
}

.lx-user-btn .layui-icon {
    font-size: 14px;
}

.lx-user-arrow {
    font-size: 10px !important;
    transition: transform .2s;
}

.lx-user-menu.open .lx-user-arrow {
    transform: rotate(180deg);
}

.lx-user-dropdown {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, .12);
    display: none;
    min-width: 148px;
    padding: 6px 0;
    position: absolute;
    right: 0;
    top: 40px;
    z-index: 1000;
}

.lx-user-menu.open .lx-user-dropdown {
    display: block;
}

.lx-user-dropdown a {
    align-items: center;
    color: var(--lx-text);
    display: flex;
    font-size: 13px;
    gap: 8px;
    line-height: 20px;
    padding: 8px 14px;
    text-decoration: none;
    white-space: nowrap;
}

.lx-user-dropdown a:hover {
    background: #f5f7ff;
    color: var(--lx-primary);
}

.lx-user-dropdown a .layui-icon,
.lx-user-dropdown a .iconfont {
    font-size: 13px;
}

.lx-user-dropdown .lx-user-logout {
    border-top: 1px solid var(--lx-border);
    color: #d9534f;
    margin-top: 4px;
    padding-top: 10px;
}

.lx-user-dropdown .lx-user-logout:hover {
    background: #fff5f5;
    color: #d9534f;
}

/* ============ 首页 Hero 区 ============ */
.lx-section {
    align-items: center;
    background-image: url("/static/lingxing/home-top.png");
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% 400px;
    display: flex;
    flex-direction: column;
    height: fit-content;
    min-height: 400px;
    overflow-x: hidden;
    padding: 80px 0 134px;
    width: 100%;
}

.lx-section .help-title {
    color: var(--lx-title);
    font-size: 36px;
    font-weight: 600;
    line-height: 48px;
    margin: 0;
}

/* 搜索框 */
.lx-search-wrap {
    width: 624px;
    max-width: 90vw;
    margin-top: 40px;
    margin-bottom: 80px;
}

.search-input-wrap {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .05);
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 56px;
    width: 100%;
}

.search-input-wrap input.el-input__inner {
    color: #0c1017;
    flex: 1;
    font-size: 16px;
    height: 56px;
    line-height: 56px;
    padding: 0 16px;
    border: none;
    outline: none;
    background: transparent;
}

.search-input-wrap input.el-input__inner::placeholder {
    color: var(--lx-muted);
}

.search-input-wrap .el-input__suffix {
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 16px;
}

.search-input-wrap .el-icon-search {
    background-color: var(--lx-primary);
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    height: 40px;
    width: 40px;
}

/* ============ 热门文章 / 入门专区 ============ */
.lx-section .content-wrapper {
    width: 64vw;
    max-width: 1200px;
}

.lx-section .top-content-warp {
    display: flex;
    flex-direction: row;
    gap: 0 40px;
}

.lx-section .hot-learn-content {
    background-color: #fff;
    background-image: url("/static/lingxing/home-hot.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100% 64px;
    border-radius: 8px;
    box-shadow: 0 2px 4px 0 rgba(97, 132, 255, .03), 0 4px 8px 0 rgba(97, 132, 255, .04), 0 8px 28px 0 rgba(97, 132, 255, .07);
    flex: 1;
    overflow: hidden;
    margin: 0;
}

.lx-section .hot-learn-content > p {
    color: var(--lx-title);
    font-size: 20px;
    font-weight: 600;
    line-height: 64px;
    margin: 0;
    padding-left: 24px;
}

.lx-section .hot-learn-content ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 16px 0;
    margin: 0;
    list-style: none;
}

.lx-section .hot-learn-content a {
    color: var(--lx-text);
    cursor: pointer;
    font-size: 14px;
    line-height: 24px;
    margin: 4px 1.98% 4px 24px;
    overflow: hidden;
    padding-left: 15px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: calc(49.01% - 35.5px);
    text-decoration: none;
}

.lx-section .hot-learn-content a:before {
    background-color: var(--lx-text);
    border-radius: 50%;
    content: "";
    display: block;
    height: 4px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
}

.lx-section .hot-learn-content a:hover {
    color: var(--lx-primary);
    text-decoration: underline;
}

.lx-section .learn-content {
    flex: inherit;
    width: 31.16%;
}

.lx-section .learn-content a {
    min-width: 200px;
    width: calc(100% - 39.5px);
}

/* ============ 功能概览（文集卡片） ============ */
/* 功能概览独占整行，与上方内容区对齐 */
.lx-section .model-wrapper {
    max-width: 1200px;
    width: 86vw;
}

.lx-section .model-title {
    color: var(--lx-title);
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    margin: 0 0 36px;
}

/* 固定三列栅格：卡片数不足一行时不产生空洞 */
.lx-section .model-content-warp {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, 1fr);
}

.lx-section .model-content-warp:has(> .model-item:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

.lx-section .model-content-warp:has(> .model-item:first-child:last-child) {
    grid-template-columns: 1fr;
}

.lx-section .model-item {
    background: #fff;
    border: 1px solid var(--lx-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    margin: 0;
    min-width: 0;
    overflow: hidden;
}

.lx-section .model-item > p:first-child {
    align-items: center;
    align-self: stretch;
    background: var(--lx-card-head);
    display: flex;
    font-size: 20px;
    font-weight: 600;
    gap: 8px;
    line-height: 32px;
    margin: 0;
    padding: 12px 24px;
}

.lx-section .model-item > p:first-child .icon {
    font-size: 24px;
    color: var(--lx-primary);
}

.lx-section .model-item > ul {
    padding: 12px 24px;
    margin: 0;
    list-style: none;
    min-height: 60px;
}

.lx-section .model-item > ul a {
    align-items: center;
    color: var(--lx-text);
    cursor: pointer;
    display: flex;
    flex-direction: row;
    font-size: 14px;
    line-height: 24px;
    margin: 2px 0;
    position: relative;
    text-decoration: none;
}

.lx-section .model-item > ul a span {
    margin-right: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lx-section .model-item > ul a:hover {
    color: var(--lx-primary);
    text-decoration: underline;
}

.lx-section .model-item > a:last-child {
    align-items: center;
    align-self: stretch;
    border-top: 1px solid var(--lx-border);
    color: var(--lx-primary);
    cursor: pointer;
    display: flex;
    font-size: 14px;
    gap: 6px;
    line-height: 24px;
    padding: 12px 24px;
    text-decoration: none;
}

/* ============ 左侧目录树 ============ */
.side-folder-tree {
    width: 300px;
    border-right: 1px solid #e8e8e8;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    flex: none;
    overflow: hidden auto;
    background: #fff;
}

.side-folder-tree .container {
    padding: 16px 4px 40px 12px;
}

.side-folder-tree .el-tree-node__content {
    align-items: center;
    border-left: 3px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    height: auto !important;
    min-height: 36px;
    padding: 0 12px 0 5px;
}

.side-folder-tree .el-tree-node__content:hover {
    background-color: rgba(0, 91, 245, .04);
}

.side-folder-tree .el-tree-node.is-current > .el-tree-node__content {
    background-color: rgba(0, 91, 245, .1) !important;
    border-left: 3px solid var(--lx-primary-active);
}

.side-folder-tree .el-tree-node.is-current > .el-tree-node__content .text {
    color: var(--lx-primary-active) !important;
}

.side-folder-tree .custom-tree-node {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    font-size: 14px;
    height: 100%;
    line-height: 20px;
    padding: 6px 0;
    width: 100%;
}

.side-folder-tree .custom-tree-node.first-sub .text {
    color: #0c1017;
    font-size: 14px;
}

.side-folder-tree .custom-tree-node .text {
    color: var(--lx-text);
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-folder-tree .custom-tree-node.first-sub .text {
    font-weight: 600;
}

.side-folder-tree .custom-tree-node .text-name:hover {
    color: var(--lx-primary);
}

.side-folder-tree .el-tree-node__expand-icon {
    color: #9b9ea9;
    cursor: pointer;
    font-size: 12px;
    transition: transform .3s ease-in-out;
    margin-right: 4px;
    flex: none;
}

.side-folder-tree .el-tree-node__expand-icon.expanded {
    transform: rotate(90deg);
}

.side-folder-tree .el-tree-node__expand-icon.is-leaf {
    color: transparent;
    cursor: default;
}

.side-folder-tree .el-tree-node__children {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ============ 文章页 ============ */
.lx-main .page {
    background-color: #fff;
    flex: 1;
    position: relative;
    width: 100%;
    overflow: hidden;
    min-width: 0;
}

.lx-article-body {
    display: flex;
    flex-direction: row;
    overflow-x: hidden;
    width: 100%;
}

.lx-article-body > .el-scrollbar {
    flex: 1;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    overflow: hidden auto;
    width: 100%;
}

#article-wrap {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: center;
}

#article-wrap > .lx-article-inner {
    width: 100%;
    max-width: 900px;
    margin: 16px;
    padding-bottom: 48px;
    padding-top: 8px;
}

/* 面包屑 */
.el-breadcrumb {
    align-items: center;
    display: flex;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.el-breadcrumb .el-breadcrumb__item {
    align-items: center;
    display: flex;
    float: none;
}

.el-breadcrumb .el-breadcrumb__inner {
    color: var(--lx-muted);
    font-weight: 400;
}

.el-breadcrumb .el-breadcrumb__inner a {
    color: var(--lx-muted);
    text-decoration: none;
}

.el-breadcrumb .el-breadcrumb__inner a:hover {
    color: var(--lx-primary-light);
}

.el-breadcrumb .el-breadcrumb__separator {
    color: var(--lx-muted);
    margin: 0 6px;
}

/* 文章标题 */
.article-title {
    border-bottom: 1px solid var(--lx-border);
    color: var(--lx-title);
    font-size: 36px;
    font-weight: 600;
    line-height: 48px;
    margin: 36px 0 40px;
    padding-bottom: 20px;
}

.lx-doc-head-bar .el-breadcrumb {
    margin-bottom: 0;
}

/* 文章正文 —— 对齐 lingxing article-container 的字色与行高 */
.article-container {
    color: var(--lx-body);
    flex: 1;
    font-size: 14px;
    line-height: 24px;
    word-break: break-word;
}

.article-container p {
    color: var(--lx-body);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin: 10px 0;
}

.article-container h1,
.article-container h2,
.article-container h3,
.article-container h4,
.article-container h5,
.article-container h6 {
    border-bottom: none;
    color: #17191c;
    font-weight: 600;
    line-height: 1.5;
    margin: 24px 0 12px !important;
    padding-bottom: 0;
}

.article-container h1 { font-size: 2rem; line-height: 2.5rem; }
.article-container h2 { font-size: 1.75rem; line-height: 2.25rem; }
.article-container h3 { font-size: 1.25rem; line-height: 2rem; }
.article-container h4 { font-size: 1.125rem; line-height: 1.75rem; }
.article-container h5,
.article-container h6 { font-size: 1rem; line-height: 1.5rem; }

.article-container a {
    color: var(--lx-primary);
    text-decoration: none;
}

.article-container a:hover {
    text-decoration: underline;
}

.article-container img {
    border-radius: .5rem;
    cursor: pointer;
    max-width: 100%;
    height: auto;
}

.article-container ul,
.article-container ol {
    line-height: 1.8;
    list-style-position: outside;
    margin: 0;
    padding-left: 16px;
}

.article-container ul {
    list-style-type: disc;
}

.article-container ol {
    list-style-type: decimal;
}

.article-container li {
    line-height: 1.8;
    margin: 0;
}

.article-container li::marker {
    color: #ced3dd;
}

.article-container blockquote {
    background: none;
    border-left: 4px solid #ced3dd;
    color: var(--lx-text);
    font-size: 16px;
    line-height: 28px;
    margin: 8px 0;
    padding: 8px 0 8px 20px;
}

.article-container pre {
    background: #f6f7f9;
    border-radius: 4px;
    overflow: auto;
    padding: 16px;
    margin: 16px 0;
}

.article-container pre code {
    background: none;
    padding: 0;
}

.article-container code {
    background: #f6f7f9;
    border-radius: 4px;
    color: #d14;
    font-size: 14px;
    padding: 2px 6px;
}

.article-container table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    color: #333;
    display: table;
    font-family: Arial, Verdana, sans-serif;
    font-size: 14px;
    margin: 8px 0;
    width: 100%;
}

.article-container thead th {
    background: #f5f5f5;
    border-bottom: 1px solid #ccc;
    font-weight: 700;
    padding: 8px;
    text-align: left;
}

.article-container th,
.article-container td {
    border: 1px solid #ccc;
    color: #333;
    padding: 8px;
    text-align: left;
    vertical-align: top;
}

.article-container hr {
    border: none;
    border-color: var(--lx-border);
    border-top: 1px solid var(--lx-border);
    margin: 16px 0;
}

/* 宽屏时正文 16px/24px（与 lingxing lg 断点一致） */
@media (min-width: 1024px) {
    .article-container {
        font-size: 16px;
        line-height: 24px;
    }

    .article-container p {
        font-size: 16px;
        line-height: 24px;
    }
}


/* 文档底部信息 */
.lx-doc-foot {
    border-top: 1px solid var(--lx-border);
    color: var(--lx-muted);
    font-size: 13px;
    margin-top: 40px;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* 空状态 */
.lx-empty {
    color: var(--lx-muted);
    padding: 80px 0;
    text-align: center;
    width: 100%;
}

.lx-empty .empty-title {
    color: var(--lx-muted);
    font-size: 16px;
    margin-top: 12px;
}

/* 分页 */
.lx-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 32px 0 0;
    width: 64vw;
    max-width: 1200px;
}

.lx-pagination a {
    border: 1px solid var(--lx-border);
    border-radius: 4px;
    color: var(--lx-text);
    font-size: 14px;
    line-height: 30px;
    min-width: 32px;
    padding: 0 8px;
    text-align: center;
    text-decoration: none;
}

.lx-pagination a:hover {
    border-color: var(--lx-primary);
    color: var(--lx-primary);
}

.lx-pagination a.active {
    background: var(--lx-primary);
    border-color: var(--lx-primary);
    color: #fff;
}

/* ============ 文档页 / 文集页（覆盖 mrdoc 默认样式） ============ */
#doc-container.lx-main {
    background: #fff;
    display: flex;
    flex-direction: row;
    height: calc(100vh - 60px);
    position: relative;
}

/* 左栏宽度按最长菜单文字自适应，上限 280px 防超长标题撑满 */
/**
 * 侧栏宽度：默认 260px，可通过 --sidebar-width 覆盖（拖拽调整时由 JS 设置）。
 * 宽度固定后，标题栏与菜单项都按该宽度自适应，不会再被长标题撑破。
 */
#doc-container-sidebar.side-folder-tree {
    background-color: #fff;
    border-right: 1px solid #e8e8e8;
    box-sizing: border-box;
    flex: none;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    max-width: 360px;
    min-width: 132px;
    overflow: hidden auto;
    padding: 0;
    width: var(--sidebar-width, 260px);
}

#doc-container-sidebar.side-folder-tree > .container {
    box-sizing: border-box;
    min-width: 0;
    padding: 16px 4px 40px 12px;
    width: 100%;
}

/* 文集标题 */
#doc-container-sidebar .project-title {
    align-items: center;
    color: var(--lx-title);
    display: flex;
    font-size: 16px;
    font-weight: 600;
    gap: 4px;
    justify-content: flex-start;
    line-height: 24px;
    margin: 0;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 4px 8px 8px;
    /* 覆盖 mrdoc.css 的 text-align: center */
    text-align: left;
}

/* 文集名过长时省略，不撑破侧栏 */
#doc-container-sidebar .project-title > a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#doc-container-sidebar .project-title > svg,
#doc-container-sidebar .project-title > img {
    flex: none;
}

#doc-container-sidebar .project-title > i,
#doc-container-sidebar .project-title > button {
    flex: none;
}

#doc-container-sidebar .project-title a {
    color: var(--lx-title);
}

#doc-container-sidebar .project-title svg.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    color: var(--lx-primary);
}

/* 目录树 */
#doc-container-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#doc-container-sidebar .doctree-li {
    margin-bottom: 2px;
}

/* 目录行：领星实测 height 36-38px / line-height 24px / 圆角 4px，无左边框 */
#doc-container-sidebar .doctree-item-wrapper {
    align-items: center;
    border-left: 0;
    border-radius: 4px;
    display: flex;
    flex-direction: row;
    min-height: 36px;
    padding: 0 12px 0 5px;
}

#doc-container-sidebar .doctree-item-wrapper:hover {
    background-color: rgba(0, 91, 245, .04);
}

/* 选中：浅蓝底 rgba(0,91,245,.1)，文字蓝色，无左边框，不加粗 */
#doc-container-sidebar .doctree-item-wrapper.active {
    background-color: rgba(0, 91, 245, .1);
    border-left: 0;
}

#doc-container-sidebar .doctree-item-wrapper.active a {
    color: var(--lx-primary-active);
    font-weight: 400;
}

#doc-container-sidebar .doctree-item-name-wrapper {
    align-items: center;
    display: flex;
    flex: 1;
    margin-right: 4px;
    min-width: 0;
    white-space: nowrap;
}

/* 折叠箭头：展开 ▾ / 收起 ▸，与领星一致 */
#doc-container-sidebar .doctree-item-name-wrapper > i.switch-toc {
    color: var(--lx-muted);
    cursor: pointer;
    flex: none;
    font-size: 12px;
    line-height: 20px;
    margin-right: 2px;
    padding: 2px;
    transition: color .2s;
    width: 14px;
}

#doc-container-sidebar .doctree-item-name-wrapper > i.switch-toc:hover {
    color: var(--lx-primary);
}

/* 有子节点的父级目录：领星为同等字号、常规字重、颜色 #1f2329 */
#doc-container-sidebar .doctree-item-name-wrapper.has-children-icon > a {
    color: #1f2329;
    font-weight: 400;
}

/* 叶子节点与父级文字左对齐（补齐箭头占位） */
#doc-container-sidebar .doctree-item-name-wrapper.no-children-icon {
    padding-left: 18px;
}

#doc-container-sidebar .doctree-item-name-wrapper.no-children-icon > a > i {
    color: var(--lx-muted);
    font-size: 12px;
    margin-left: -16px;
    margin-right: 2px;
    width: 14px;
}

/* 未选中：14px / 400 / #0c1017 / line-height 24px（领星实测）
   达到左栏上限时超长标题省略 */
#doc-container-sidebar .doctree-item-name-wrapper > a {
    color: #0c1017;
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#doc-container-sidebar .doctree-item-name-wrapper > a:hover {
    color: var(--lx-primary);
}

#doc-container-sidebar .doctree-ul {
    padding-left: 16px !important;
}

#doc-container-sidebar .bq {
    margin-top: 16px;
    padding: 8px;
    text-align: center;
}

#doc-container-sidebar .bq .mrdoc-link {
    color: var(--lx-muted);
    font-size: 12px;
    text-decoration: none;
}

/* 右侧内容区（抵消 mrdoc 的 padding: 0 10px） */
#doc-container-body.page {
    background-color: #fff;
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden auto;
    padding: 0 !important;
    width: auto;
}

/* mrdoc 自带目录容器：隐藏，避免与右侧 lx-toc-aside 目录重复 */
#toc-container,
#toc-container *,
.doc-toc-hide {
    display: none !important;
}

/* 顶部工具条：游客隐藏；登录后显示阅读工具与编辑入口 */
.doc-header {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--lx-border);
    box-sizing: border-box;
    display: flex;
    gap: 2px;
    height: 44px;
    padding: 0 16px;
}

.doc-header.guest-hide {
    display: none;
}

.doc-header .btn {
    align-items: center;
    color: var(--lx-muted);
    display: inline-flex;
    font-size: 14px;
    gap: 4px;
    height: 32px;
    line-height: 32px;
    padding: 0 8px;
    text-decoration: none;
    transition: color .2s;
}

.doc-header .btn:hover {
    color: var(--lx-primary);
}

.doc-header .btn.pull-right {
    margin-left: auto;
}

/* ============ 登录后的管理操作条 ============ */
.lx-manage-bar {
    align-items: center;
    background: #f8f9ff;
    border-bottom: 1px solid var(--lx-border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px;
}

.lx-manage-bar-label {
    align-items: center;
    color: var(--lx-muted);
    display: inline-flex;
    font-size: 13px;
    gap: 4px;
    margin-right: 4px;
}

.lx-manage-btn {
    align-items: center;
    background: #fff;
    border: 1px solid var(--lx-border);
    border-radius: 4px;
    color: var(--lx-text);
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    gap: 4px;
    line-height: 20px;
    padding: 5px 12px;
    text-decoration: none;
    transition: all .2s;
}

.lx-manage-btn:hover {
    border-color: var(--lx-primary);
    color: var(--lx-primary);
}

.lx-manage-btn .layui-icon {
    font-size: 13px;
}

/* 三栏布局：正文居中偏左，右侧目录贴右（对齐领星 article-wrap + w-1/5） */
.doc-body-content {
    align-items: flex-start;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    gap: 0;
    justify-content: space-between;
    padding: 0;
    width: 100%;
}

/* 正文列：flex:1 撑满中间，内容区留 32px 内边距（对齐领星 lg:px-8） */
.doc-body-content-div {
    flex: 1 1 0%;
    margin: 0;
    max-width: 100%;
    min-width: 0;
    order: 1;
    padding: 8px 32px 60px;
    width: auto;
}

.doc-body-content.no-toc .doc-body-content-div {
    max-width: 100%;
}

.doc-content {
    max-width: 100%;
    padding-left: 0;
}

.doc-info {
    text-align: left;
}

/* 正文排版继承 .article-container（见上文），此处仅消除 mrdoc 差异 */
.markdown-body.article-container {
    color: var(--lx-body);
    padding-top: 0;
}

.markdown-body.article-container a {
    color: var(--lx-primary);
}

.markdown-body.article-container img {
    max-width: 100%;
}

/* ============ 右侧栏（文档目录）：宽度按最长目录项自适应 ============ */
.lx-toc-aside {
    display: block;
    flex: 0 0 auto;
    max-width: min(360px, 30vw);
    min-width: 120px;
    order: 3;
    padding: 0 16px 0 0;
    position: sticky;
    top: 16px;
    width: max-content;
}

/* 目录项不截断，宽度参与 max-content 计算 */
.lx-toc-card li {
    max-width: min(320px, 28vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 目录容器：左侧 2px 灰色轨道，蓝色进度段覆盖其上 */
.lx-toc-card {
    background: #fff;
    border-left: 2px solid #ddd;
    padding: 0 0 0 20px;
    position: relative;
}

/* 滚动进度条：沿左侧轨道滑动的蓝色段 */
.lx-toc-progress {
    background: var(--lx-primary);
    border-radius: 1px;
    height: 16px;
    left: -22px;
    pointer-events: none;
    position: absolute;
    top: 0;
    transition: top .12s linear;
    width: 2px;
}

.lx-toc-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 目录项：领星为纯文本链接 */
.lx-toc-card li {
    color: #9b9eaa;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 一级标题（一、二、三…）：黑色加粗 */
.lx-toc-card li.lx-toc-h2 {
    color: var(--lx-title);
    font-weight: 700;
    line-height: 24px;
    margin-top: 8px;
}

.lx-toc-card li.lx-toc-h2:first-child {
    margin-top: 0;
}

/* 二三级标题缩进 */
.lx-toc-card li.lx-toc-h3 {
    padding-left: 20px;
}

.lx-toc-card li.lx-toc-h4 {
    padding-left: 40px;
}

.lx-toc-card li:hover {
    color: var(--lx-primary);
}

/* 当前项：黑色加粗（与领星一致，非蓝色） */
.lx-toc-card li.active {
    color: var(--lx-title);
    font-weight: 700;
}

/* 左栏收起/展开按钮：骑在左栏右缘分界线上（对齐领星 hide-icon-btn 胶囊样式） */
.lx-side-toggle {
    align-items: center;
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e5e6eb;
    border-radius: 16px;
    box-sizing: border-box;
    color: #9b9eaa;
    cursor: pointer;
    display: flex;
    flex: none;
    height: 26px;
    justify-content: center;
    margin-left: -13px;
    margin-right: -13px;
    /* 下移，避免与文集标题栏右侧的收藏/链接按钮过近 */
    margin-top: 72px;
    padding: 0;
    position: relative;
    transition: all .2s;
    width: 26px;
    z-index: 99;
}

.lx-side-toggle:hover {
    border-color: var(--lx-primary);
    color: var(--lx-primary);
}

.lx-side-toggle .layui-icon {
    font-size: 14px;
    transition: transform .2s;
}

/* 收起后的竖排窄条（对齐领星 fold-side-bar：32px 宽，紧贴视口上缘） */
.lx-side-rail {
    align-items: center;
    background: #fff;
    display: none;
    flex-direction: column;
    padding-top: 6px;
    width: 32px;
}

.lx-side-rail-text {
    color: var(--lx-title);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1;
    margin: 0 0 4px;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.lx-side-rail-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e6eb;
    border-radius: 50%;
    color: #9b9eaa;
    cursor: pointer;
    display: flex;
    height: 20px;
    justify-content: center;
    padding: 0;
    transition: all .2s;
    width: 20px;
}

.lx-side-rail-btn:hover {
    border-color: var(--lx-primary);
    color: var(--lx-primary);
}

.lx-side-rail-btn .layui-icon {
    font-size: 11px;
}

/* 收起状态：左栏整体收窄为竖条，内部内容隐藏 */
#doc-container.side-folded #doc-container-sidebar {
    display: block !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    padding: 0;
    border-right: 0;
}

#doc-container.side-folded #doc-container-sidebar .container {
    padding: 0;
    width: 32px;
}

#doc-container.side-folded #doc-container-sidebar .container > *:not(.lx-side-rail) {
    display: none !important;
}

#doc-container.side-folded #doc-container-sidebar .lx-side-rail {
    display: flex;
}

#doc-container.side-folded #doc-container-splitter {
    display: none !important;
}

#doc-container.side-folded .lx-side-toggle {
    display: none;
}

.lx-toc-toggle:hover {
    border-color: var(--lx-primary);
    color: var(--lx-primary);
}

.lx-toc-toggle .layui-icon {
    font-size: 14px;
}

/* 收起状态：目录隐藏，按钮旋转 */
.lx-toc-aside.is-folded {
    display: none;
}

.lx-toc-toggle.is-folded .layui-icon {
    transform: rotate(180deg);
}

/* 收起后正文补回右栏腾出的空间 */
.doc-body-content.toc-folded .doc-body-content-div {
    padding-right: 64px;
}

/* 辅助类，保留占位 */
.lx-toc-aside.is-folded {
    display: none;
}

/* ============ 顶栏搜索框 ============ */
.lx-top-search {
    align-items: center;
    background: #f5f6f7;
    border-radius: 4px;
    display: flex;
    flex: none;
    flex-direction: row;
    height: 36px;
    overflow: hidden;
    width: 280px;
}

.lx-top-search input {
    background: none;
    border: none;
    box-sizing: border-box;
    color: var(--lx-title);
    flex: 1 1 auto;
    font-size: 14px;
    height: 36px;
    line-height: 36px;
    min-width: 0;
    outline: none;
    padding: 0 12px;
    width: 100%;
}

.lx-top-search input::placeholder {
    color: var(--lx-muted);
}

.lx-top-search button {
    background: none;
    border: none;
    color: var(--lx-muted);
    cursor: pointer;
    flex: none;
    height: 36px;
    padding: 0 12px;
}

.lx-top-search button:hover {
    color: var(--lx-primary);
}

/* 文档底部工具条 */
#doc-content-bottom-toolbar {
    color: var(--lx-muted) !important;
    font-size: 13px;
    padding-left: 0 !important;
}

#doc-content-bottom-toolbar .doc-bottom-btn {
    background: none;
    border: none;
    color: var(--lx-muted);
    cursor: pointer;
    font-size: 13px;
}

#doc-content-bottom-toolbar .doc-bottom-btn:hover,
#doc-content-bottom-toolbar .collected {
    color: var(--lx-primary);
}

/* 上/下一篇 */
.page-flip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 0;
}

.page-flip a {
    color: var(--lx-text);
    font-size: 14px;
    text-decoration: none;
}

.page-flip a:hover {
    color: var(--lx-primary);
}

/* ============ 文档底部信息栏（作者/时间/转发/收藏） ============ */
.lx-doc-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    color: var(--lx-muted);
    font-size: 14px;
    line-height: 20px;
    padding: 16px 0 0;
}

.lx-doc-meta-item {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    color: var(--lx-muted);
}

.lx-doc-meta-item .layui-icon {
    font-size: 14px;
}

.lx-doc-meta-btn {
    align-items: center;
    background: none;
    border: 0;
    color: var(--lx-muted);
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    gap: 6px;
    line-height: 20px;
    padding: 0;
    transition: color .2s;
}

.lx-doc-meta-btn:hover {
    color: var(--lx-primary);
}

.lx-doc-collect {
    cursor: pointer;
}

.lx-doc-collect .collected {
    color: #faad14;
}

.lx-doc-tags a {
    color: var(--lx-text);
    margin-right: 8px;
    text-decoration: none;
}

.lx-doc-tags a:hover {
    color: var(--lx-primary);
    text-decoration: underline;
}

/* ============ 上一篇 / 下一篇（领星胶囊按钮） ============ */
.lx-doc-flip {
    display: flex;
    gap: 160px;
    justify-content: center;
    padding: 40px 0 24px;
}

.lx-doc-flip-cell {
    display: flex;
}

.lx-doc-flip-btn {
    align-items: center;
    background: #fff;
    border: 1px solid var(--lx-border);
    border-radius: 16px;
    color: var(--lx-text);
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    gap: 2px;
    height: 32px;
    line-height: 30px;
    padding: 0 16px;
    text-decoration: none;
    transition: all .2s;
}

.lx-doc-flip-btn:hover {
    border-color: var(--lx-primary);
    color: var(--lx-primary);
}

.lx-doc-flip-btn.disabled {
    color: #c5c8d1;
    cursor: not-allowed;
}

.lx-doc-flip-btn.disabled:hover {
    border-color: var(--lx-border);
    color: #c5c8d1;
}

.lx-doc-flip-btn .layui-icon {
    font-size: 12px;
}

/* ============ 文集页：简介 + 文档卡片列表 ============ */
.lx-pro-intro {
    color: var(--lx-body);
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 8px;
}

.lx-pro-intro p {
    margin: 0 0 12px;
}

/* 文集页不展示中间文档列表，容器仅作脚本挂载点 */
.lx-pro-toc {
    display: none;
}

.lx-pro-toc-title {
    color: var(--lx-title);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin: 0 0 16px;
}

.lx-pro-toc-list,
.lx-pro-toc-sub {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lx-pro-toc-li {
    margin-bottom: 8px;
}

.lx-pro-toc-item {
    align-items: center;
    background: #fff;
    border: 1px solid var(--lx-border);
    border-radius: 8px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 16px;
    transition: all .2s;
}

.lx-pro-toc-item:hover {
    border-color: #c9d6ff;
    box-shadow: 0 4px 12px 0 rgba(97, 132, 255, .1);
}

.lx-pro-toc-link {
    align-items: center;
    color: var(--lx-title);
    display: flex;
    flex: 1;
    font-size: 15px;
    gap: 8px;
    line-height: 22px;
    min-width: 0;
    text-decoration: none;
}

.lx-pro-toc-link:hover {
    color: var(--lx-primary);
}

.lx-pro-toc-link .layui-icon {
    color: var(--lx-primary);
    flex: none;
    font-size: 16px;
}

.lx-pro-toc-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lx-pro-toc-date {
    color: var(--lx-muted);
    flex: none;
    font-size: 13px;
    line-height: 20px;
}

.lx-pro-toc-sub {
    padding: 8px 0 0 20px;
}

.lx-pro-toc-lv2 > .lx-pro-toc-item,
.lx-pro-toc-lv3 > .lx-pro-toc-item,
.lx-pro-toc-lv4 > .lx-pro-toc-item {
    background: #fafbfd;
}

.lx-pro-empty {
    color: var(--lx-muted);
    font-size: 14px;
    padding: 24px 0;
    text-align: center;
}

.lx-pro-report {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.lx-pro-report a {
    align-items: center;
    background: #f8f9ff;
    border: 1px solid var(--lx-border);
    border-radius: 6px;
    color: var(--lx-primary);
    display: inline-flex;
    font-size: 14px;
    gap: 6px;
    line-height: 20px;
    padding: 8px 14px;
    text-decoration: none;
}

.lx-pro-report a:hover {
    border-color: var(--lx-primary);
}

.lx-pro-report-none {
    color: var(--lx-muted);
    font-size: 14px;
}

/* ============ 响应式 ============ */
@media (max-width: 900px) {
    .lx-section .content-wrapper {
        width: 88vw;
    }

    .lx-section {
        padding: 40px 0 60px;
    }

    .lx-section .model-content-warp,
    .lx-section .model-content-warp:has(> .model-item:nth-child(2):last-child) {
        grid-template-columns: 1fr;
    }

    .lx-section .model-wrapper {
        width: 88vw;
    }

    .lx-section .top-content-warp {
        flex-direction: column;
        gap: 24px 0;
    }

    .lx-section .learn-content {
        width: 100%;
    }

    .side-folder-tree {
        width: 220px;
    }

    .article-title {
        font-size: 26px;
        line-height: 36px;
    }

    .lx-section .help-title {
        font-size: 26px;
        line-height: 36px;
    }

    .lx-toc-aside {
        display: none !important;
    }

    .lx-top-search {
        display: none;
    }

    .doc-body-content {
        padding: 0 16px;
        gap: 0;
    }

    .article-container h2 { font-size: 1.5rem; line-height: 2rem; }
    .article-container h3 { font-size: 1.25rem; line-height: 1.75rem; }
}

/* 窄屏（lg 以下）隐藏右侧栏 */
@media (max-width: 1024px) {
    .lx-toc-aside {
        display: none !important;
    }
}
