/* 字体文件引用 */
@font-face {
    font-family: 'OPPOSans-M';
    src: url('./fonts/OPPOSans-M.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OPPOSans-R';
    src: url('./fonts/OPPOSans-R.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OPPOSans-B';
    src: url('./fonts/OPPOSans-B.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    background-color: rgb(249 250 251);
}

#main .header-bg {
    position: relative;
    overflow: hidden;
    min-height: 324px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#main .header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* #main .header-bg .header-bg-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 30, 49, .7);
} */

/* 文章内容区域基础样式 */
#main .lato-article .main-content-box .page-left .page-info  * {
    margin-top: 0;
    font-family: "Noto Sans SC", sans-serif !important;
    font-variant-numeric: tabular-nums;
}

#main .lato-article .main-content-box .page-left .page-info img {
    object-fit: contain !important;
    height: auto !important;
}

#main .lato-article .main-content-box .page-left .page-info > *:not(h1):not(h2) {
    /* padding-left: 15px; */
}

#main .lato-article .main-content-box .page-left .page-info .article-substance h1,
#main .lato-article .main-content-box .page-left .page-info .article-substance h2,
#main .lato-article .main-content-box .page-left .page-info .article-substance h3,
#main .lato-article .main-content-box .page-left .page-info .article-substance h4,
#main .lato-article .main-content-box .page-left .page-info .article-substance h5,
#main .lato-article .main-content-box .page-left .page-info .article-substance h6 {
    padding: 0;
}

/* 正文段落样式 */
#main .page-info p {
    color: #333 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5em !important;
    letter-spacing: 0.02em !important;
}

/* H1 - 文章主标题 */
#main .page-info h1 {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    margin: 0 0 24px 0 !important;
    padding-bottom: 16px !important;
    border-bottom: 2px solid #e8e8e8 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
}

/* H2 - 一级标题（主要章节） */
#main .page-info h2 {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    margin: 48px 0 20px 0 !important;
    padding-left: 16px !important;
    /* border-left: 4px solid #00b96b !important; */
    line-height: 1.4 !important;
    position: relative !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

#main .page-info h2::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background: linear-gradient(180deg, #00b96b 0%, #00d68f 100%) !important;
    border-radius: 2px !important;
}

/* H3 - 二级标题（章节细分） */
#main .page-info h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin: 32px 0 16px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    line-height: 1.4 !important;
    padding-left: 0 !important;
}

/* H4 - 三级标题（段落主题） */
#main .page-info h4 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #34495e !important;
    margin: 24px 0 12px 0 !important;
    line-height: 1.4 !important;
    position: relative !important;
    padding-left: 16px !important;
    border-bottom: none !important;
}

#main .page-info h4::before {
    content: '\25B6' !important;
    position: absolute !important;
    left: 0 !important;
    color: #00b96b !important;
    font-size: 12px !important;
    top: 3px !important;
}

/* H5 - 四级标题（详细分类） */
#main .page-info h5 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #4a5568 !important;
    margin: 20px 0 10px 0 !important;
    line-height: 1.4 !important;
    background: #f7fafc !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    border-left: 3px solid #00b96b !important;
    border-bottom: none !important;
}

/* H6 - 五级标题（最小层级） */
#main .page-info h6 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #718096 !important;
    margin: 16px 0 8px 0 !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: none !important;
}

/* 强调文本 */
#main .page-info strong {
    color: #1a1a2e !important;
    font-weight: 600 !important;
}

#main .page-info em {
    font-style: italic !important;
    color: #555 !important;
}

/* 引用块 */
#main .page-info blockquote {
    margin: 24px 0 !important;
    padding: 20px 24px !important;
    background: linear-gradient(135deg, #f0f9f4 0%, #e6f7ed 100%) !important;
    border-left: 4px solid #00b96b !important;
    border-radius: 0 8px 8px 0 !important;
    color: #2c3e50 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

#main .page-info blockquote p:last-child {
    margin-bottom: 0 !important;
}

/* 列表样式 */
#main .page-info ul,
#main .page-info ol {
    margin: 16px 0 !important;
    padding-left: 24px !important;
}

#main .page-info li {
    margin-bottom: 8px !important;
    line-height: 1.7 !important;
}

#main .page-info ul li {
/* #main .page-info ol li { */
    list-style-type: none !important;
    position: relative !important;
}

#main .page-info ul li::before {
/* #main .page-info ol li::before { */
    content: '\2022' !important;
    color: #00b96b !important;
    font-weight: bold !important;
    position: absolute !important;
    left: -18px !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
}

/* #main .page-info ol li {
    list-style-type: decimal !important;
    padding-left: 4px !important;
} */

/* 链接样式 */
#main .page-info a {
    color: #00b96b !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent !important;
    transition: all 0.3s !important;
}

#main .page-info a:hover {
    border-bottom-color: #00b96b !important;
}

/* 代码块 */
#main .page-info code {
    background: #f4f4f4 !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    font-size: 14px !important;
    color: #e83e8c !important;
}

#main .page-info pre {
    background: #2d2d2d !important;
    color: #f8f8f2 !important;
    padding: 20px !important;
    border-radius: 8px !important;
    overflow-x: auto !important;
    margin: 20px 0 !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

#main .page-info pre code {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
}

/* 分隔线 */
#main .page-info hr {
    border: none !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%) !important;
    margin: 40px 0 !important;
}

#main .page-right.fixed {
    left: auto;
}

#main .page-right.abs {
    left: auto !important;
}


#main .case-desc {
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

#main .case-desc::before,
#main .case-desc::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url('./images/icon-quotation-marks.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#main .case-desc::before {
    top: -14px;
    left: 0;
}

#main .case-desc::after {
    bottom: -40px;
    right: 0;
    transform: rotate(180deg);
}

#main .case-desc-text {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    position: relative;
    padding: 0 70px;
}

/* 案例信息盒子 */
#main .case-info-box {
    margin-bottom: 16px;
}

/* 案例标签 - 与参考页一致 */
#main .case-info-box .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

#main .case-info-box .tag {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    border-width: 1px;
    border-style: solid;
}

/* 标签多彩颜色变体 - 与参考页Tailwind颜色一致 */
#main .case-info-box .tag:nth-child(3n+1) {
    background: #ecfdf5;
    color: #059669;
    border-color: #d1fae5;
}

#main .case-info-box .tag:nth-child(3n+2) {
    background: #eff6ff;
    color: #2563eb;
    border-color: #dbeafe;
}

#main .case-info-box .tag:nth-child(3n) {
    background: #faf5ff;
    color: #9333ea;
    border-color: #f3e8ff;
}

/* 第一个标签添加弹跳动画 */
#main .case-info-box .tag:first-child {
    animation: tag-bounce 2s infinite;
}

@keyframes tag-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* 标签hover效果 */
#main .case-info-box .tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 案例标题 - 与参考页一致 */
#main .case-info-box .case-title {
    font-size: 30px;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.25;
    margin-bottom: 16px;
    font-weight: 700;
}

/* 案例元信息 - 与参考页一致 */
#main .case-info-box .case-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #6b7280;
    font-size: 14px;
    flex-wrap: wrap;
}

#main .case-info-box .author {
    display: flex;
    align-items: center;
    gap: 8px;
}

#main .case-info-box .author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 10px;
}

#main .case-info-box .author-name {
    color: #374151;
    font-weight: 500;
}

#main .case-info-box .divider {
    color: #9ca3af;
}

#main .case-info-box .publish-time {
    color: #6b7280;
}

#main .case-info-box .views {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
}

#main .case-info-box .views i {
    font-size: 14px;
    color: #9ca3af;
}

#main .case-info-box .case-data-box {
    display: flex;
    align-items: center;
    font-family: OPPOSans-M;
}

#main .case-info-box .case-data-box .data {}

#main .case-info-box .case-data-box .data+.data {
    margin-left: 176px;
}

#main .case-info-box .case-data-box .data .value {
    color: #279DFF;
    font-size: 24px;
    white-space: nowrap;
    line-height: 1;
    margin-bottom: 15px;
}

#main .case-info-box .case-data-box .data .label {
    color: #2B2A25;
    font-size: 14px;
}

/* 主内容区 */
#main .main-content-box {
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    gap: 2rem;
    flex-direction: column;   
}
@media screen and (min-width: 1024px) {
    #main .main-content-box {
        flex-direction: row;
    }
}

#main .main-content-box-left {
    flex: 1 1 0%;
}

/* #main .case-content p:first-of-type::first-letter {
    float: left;
    font-size: 3.2em;
    line-height: 0.9;
    margin-right: 8px;
    margin-top: 4px;
    color: #00bfa5;
    font-weight: 700;
} */

#main .main-content-box-right {
    width: 100%;
}

@media screen and (min-width: 1024px) {
    #main .main-content-box-right {
        width: 20rem;
    }
}
#main .main-content-box-right .related-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#main .main-content-box-right .card-title {
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.related-list {
    list-style: none;
}

.related-item {
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.related-item:last-child {
    border-bottom: none;
}

.related-item a {
    color: #1a1a2e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    display: block;
    transition: color 0.2s;
}

.related-item a:hover {
    color: #00bfa5;
}

.related-meta {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}


/* 文章分页器 开始 */
#main .main-content-box-left .pager {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ccc;
}

#main .main-content-box-left .pager div {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 150%;
    color: #000;
    white-space: nowrap;
}

#main .main-content-box-left .pager div a {
    color: #000;
}

#main .main-content-box-left .pager div a:hover {
    color: #10b981;
}
#main .main-content-box-left .pager + .pager {
    margin-left: 2px;
}

/* 文章分页器 结束 */

/* 案例内容 */
#main .case-content {
    background: white;
    border-radius: 8px;
    padding: 40px;
    padding-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 横幅中心 */
#main .lato-banner-center {
    /* 待填写 */
}

/* 索引 */
#main .lato-index {
    /* 待填写 */
}

/* 订单 */
#main .lato-order {
    /* 待填写 */
}

/* 推荐内容 */
#main .commend-content {
    /* 待填写 */
}

#main .commend-content .article-stick-ad {
    /* position: absolute; */
    width: 299px;
    height: 316px;
    background-image: url("./images/recommend-ad-new-bg.png");
    background-repeat: no-repeat;
    background-size: 299px 316px;
    background-color: #fff;
    /* transform: translate(-16px, 0); */
    display: block;
    margin-left: 13px;
    /* z-index: 2; */
    /* left: -16px; */
}

#main .commend-content .article-system {
    /* 待填写 */
}

/* 热门系统 start */
#main .commend-content .article-system {
    /* margin-top: 15px; */
    /* border: 1px solid #DDDDDD; */
}

#main .commend-content .article-system-name {
    font-size: 16px;
    color: #000000;
    white-space: nowrap;
    /* background: #F8F8F8; */
    font-family: PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue,
        Helvetica, Arial, sans-serif, Segoe UI;
    font-size: 18px;
    height: 48px;
    text-indent: 14px;
    position: relative;
    line-height: 48px;
    width: 100%;
    cursor: pointer;
    border-bottom: 2px solid #f8f8f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 15px;
}

#main .commend-content .article-system-title-main {
    flex: 1;
    color: #11a84e;
}

#main .commend-content .article-system-title-main::after {
    content: "";
    background-image: url(./images/recommend-icon-hot.png);
    background-repeat: no-repeat;
    background-size: 100%;
    vertical-align: middle;
    display: inline-block;
    width: 26px;
    height: 26px;
    vertical-align: text-bottom;
}

#main .commend-content .article-system-more-container::after {
    content: "";
    background-image: url(./images/recommend-icon-new.png);
    background-repeat: no-repeat;
    background-size: 100%;
    vertical-align: middle;
    display: inline-block;
    width: 26px;
    height: 26px;
    vertical-align: text-bottom;
}

#main .commend-content .article-system-more {
    font-size: 18px;
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

#main .commend-content .article-system-more:hover {
    color: #11a84e;
}

#main .commend-content .article-system-name .article-system-name-icon {
    display: inline-block;
    width: 18px;
    height: 24px;
    vertical-align: baseline;
}

/* 系统标签选中状态滑块 */
#main .commend-content .article-system-name .system-active-slider {
    content: "";
    position: absolute;
    display: block;
    width: 42px;
    height: 3px;
    bottom: -1px;
    left: 14px;
    transform: translateX(0);
    background-color: #11a84e;
}

/* 系统标签选中状态 */
#main .commend-content .article-system-name .active {
    color: #11a84e !important;
}

/* .article-system-name::before {
content: "";
position: absolute;
display: block;
width: 3px;
height: 18px;
top: 50%;
left: 0;
transform: translate(0, -50%);
background-color: #11a84e;
} */

#main .commend-content .article-system-list {
    padding-top: 23px;
    padding-left: 15px;
    padding-right: 2px;
    padding-bottom: 21px;
}

#main .commend-content .article-system-item {
    display: flex;
    align-items: center;
    background-image: url("./images/srm-bg.png");
    border-radius: 6px;
    color: #fff;
}

#main .commend-content .article-system-item+.article-system-item {
    margin-top: 16px;
}

#main .commend-content .article-system-item:nth-of-type(2) {
    background-image: url("./images/wms-bg.png");
}

#main .commend-content .article-system-item:nth-of-type(3) {
    background-image: url("./images/mes-bg.png");
}

#main .commend-content .article-system-item:hover {
    color: #22369f;
}

#main .commend-content .article-system-item:nth-of-type(2):hover {
    color: #a5161f;
}

#main .commend-content .article-system-item:nth-of-type(3):hover {
    color: #0b5533;
}

#main .commend-content .article-system-cover {
    height: 33px;
    object-fit: cover;
    border-radius: 10px;
    padding: 3px 6px;
    margin: 17px 10px 17px 17px;
    background-color: #fff;
    box-sizing: content-box;
}

#main .commend-content .article-system-item:nth-of-type(2) .article-system-cover {
    height: 31px;
    padding: 4px 5px;
}

#main .commend-content .article-system-item:nth-of-type(3) .article-system-cover {
    height: 25px;
    padding: 7px 4px;
}

/* .article-system-item:hover {
color: #242323;
} */
#main .commend-content .article-system-info {
    display: flex;
    width: 100%;
    height: 70px;
    padding: 12px;
    align-items: center;
    justify-content: space-between;
}

#main .commend-content .article-system-title {
    font-size: 14px;
    font-family: OPPOSans-B;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#main .commend-content .article-system-desc {
    font-family: OPPOSans-R;
    font-size: 12px;
}

#main .commend-content .article-system-click {
    font-family: OPPOSans-R;
    font-size: 12px;
}

/* 热门系统 end */

/* CTA 免费注册卡片（对齐示例页视觉：from-emerald-500 to-teal-600） */
.article-cta-card {
    background: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
    border-radius: 12px; /* rounded-xl */
    padding: 24px; /* p-6 */
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.12);
    margin-bottom: 24px;
}

.article-cta-title {
    margin: 0 0 8px 0; /* mb-2 */
    font-weight: 700; /* font-bold */
    font-size: 18px; /* text-lg */
    line-height: 1.35;
    color: #fff;
}

.article-cta-desc {
    margin: 0 0 16px 0; /* mb-4 */
    font-size: 14px; /* text-sm */
    line-height: 1.6;
    color: rgba(236, 253, 245, 0.95); /* text-emerald-100 */
}

.article-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #fff;
    color: #059669; /* emerald-600 */
    padding: 10px 16px; /* py-2.5 */
    border-radius: 10px; /* rounded-lg */
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.02s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12); /* shadow-md */
}

.article-cta-btn:hover {
    background-color: #ecfdf5; /* emerald-50 */
}

.article-cta-btn:active {
    transform: translateY(1px);
}

/* 侧边栏卡片通用样式 */
.sidebar-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.sidebar-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sidebar-card-more {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #10b981;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-card-more:hover {
    color: #059669;
    text-decoration: underline;
}

.sidebar-card-more i {
    font-size: 10px;
}

.sidebar-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    /* margin-bottom: 1rem; */
}

.sidebar-card-title i {
    color: #ef4444;
}

/* 热门案例 */
.sidebar-case-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-case-item {
    display: block;
    text-decoration: none;
    transition: opacity 0.2s;
}

.sidebar-case-item:hover .sidebar-case-title {
    color: #10b981;
}

.sidebar-case-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem;
    transition: color 0.2s;
}

.sidebar-case-meta {
    font-size: 0.75rem;
    color: #9ca3af;
}

.sidebar-divider {
    height: 1px;
    background-color: #f3f4f6;
}

/* 热门系统 */
.sidebar-system-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-system-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.sidebar-system-item:hover {
    background-color: #f9fafb;
}

.sidebar-system-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-system-icon-srm {
    background-color: #d1fae5;
    color: #10b981;
}

.sidebar-system-icon-wms {
    background-color: #dbeafe;
    color: #3b82f6;
}

.sidebar-system-icon-mes {
    background-color: #ede9fe;
    color: #8b5cf6;
}

.sidebar-system-info {
    flex: 1;
    min-width: 0;
}

.sidebar-system-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.125rem;
}

.sidebar-system-item:hover .sidebar-system-title {
    color: #10b981;
}

.sidebar-system-desc {
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 文章目录 start（结构：header + nav#tocNav + a.toc-link） */
.article-catalog-container.article-toc {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

.article-toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.article-toc-title {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    color: #1f2937;
}

.article-toc-toggle {
    border: none;
    background: transparent;
    padding: 0;
    width: 28px;
    height: 28px;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.article-toc-toggle:hover {
    color: #10b981;
}

.article-toc-toggle i {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.article-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 4px; /* space-y-1 */
    max-height: 400px;
    overflow: auto;
    transition: max-height 0.25s ease, opacity 0.2s ease;
}

.article-toc-nav.collapsed {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.article-toc-toggle[aria-expanded="false"] i {
    transform: rotate(-90deg);
}

.article-toc-nav .toc-link {
    display: block;
    padding: 8px 12px; /* px-3 py-2 */
    font-size: 14px; /* text-sm */
    color: #4b5563; /* text-gray-600 */
    text-decoration: none;
    border-left: 2px solid transparent;
    border-radius: 10px; /* rounded-lg */
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.article-toc-nav .toc-link:hover,
.article-toc-nav .toc-link.active {
    color: #10b981;
}
/* 文章目录 end */

/* 响应式样式 - 1024px */
@media (max-width: 1024px) {
    #main .main-content-box {
        flex-direction: column;
    }

    #main .main-content-box-left {
        width: 100%;
        max-width: 100%;
    }

    #main .main-content-box-right {
        width: 100%;
    }

    #main .case-info-box {
        /* padding: 32px 24px; */
    }

    #main .case-info-box .case-title {
        font-size: 28px;
    }
}

/* 响应式样式 - 768px */
@media (max-width: 768px) {
    #main .header-bg {
        height: 300px;
        padding: 60px 24px;
    }

    #main .case-desc {
        padding: 20px;
    }

    #main .case-desc-text {
        font-size: 18px;
        padding: 0 20px;
    }

    #main .case-info-box {
        padding: 24px 16px;
    }

    #main .case-info-box .tags {
        gap: 6px;
        margin-bottom: 16px;
    }

    #main .case-info-box .tag {
        padding: 4px 10px;
        font-size: 12px;
    }

    #main .case-info-box .case-title {
        font-size: 22px;
        margin-bottom: 16px;
        line-height: 1.3;
    }

    #main .case-info-box .case-meta {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
    }

    #main .case-info-box .author-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    #main .case-info-box .views {
        /* width: 100%; */
    }
}

/* 选择区域 - role-section */
.role-section {
    position: relative;
    padding: 64px 16px;
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
    overflow: hidden;
}

.role-section-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.role-blob {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

.role-blob-1 {
    top: 0;
    left: 25%;
    background-color: #a7f3d0;
}

.role-blob-2 {
    bottom: 0;
    right: 25%;
    background-color: #bfdbfe;
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.role-section-container {
    max-width: 1152px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.role-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .role-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.role-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}
.role-card a:hover {
    color: #FFFFFF;
}

.role-card-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #34d399, #14b8a6);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.role-card:hover .role-card-top-bar {
    transform: scaleX(1);
}

.role-card-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(16, 185, 129, 0), rgba(20, 184, 166, 0));
    transition: all 0.5s ease;
    pointer-events: none;
}

.role-card:hover .role-card-bg-overlay {
    background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.15), rgba(20, 184, 166, 0.1));
}

.role-card:hover {
    box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.2);
    transform: translateY(-4px);
}

.role-card-blue .role-card-top-bar {
    background: linear-gradient(to right, #3b82f6, #6366f1);
}

.role-card-blue:hover .role-card-bg-overlay {
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.08));
}

.role-card-blue:hover {
    box-shadow: 0 20px 40px -12px rgba(59, 130, 246, 0.2);
}

.role-card-amber .role-card-top-bar {
    background: linear-gradient(to right, #f59e0b, #f97316);
}

.role-card-amber:hover .role-card-bg-overlay {
    background: linear-gradient(to bottom right, rgba(245, 158, 11, 0.1), rgba(249, 115, 22, 0.08));
}

.role-card-amber:hover {
    box-shadow: 0 20px 40px -12px rgba(245, 158, 11, 0.2);
}

.role-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.role-card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: linear-gradient(to bottom right, #ecfdf5, #f0fdfa);
    border: 1px solid #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.role-card-icon i {
    font-size: 24px;
    color: #059669;
    transition: all 0.5s ease;
}

.role-card:hover .role-card-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.role-card:hover .role-card-icon i {
    transform: rotate(6deg);
}

.role-card-blue:hover .role-card-icon i {
    transform: scale(1.1);
}

.role-card-amber:hover .role-card-icon i {
    transform: rotate(12deg);
}

.role-card-icon-blue {
    background: linear-gradient(to bottom right, #eff6ff, #e0e7ff);
    border-color: #dbeafe;
}

.role-card-icon-blue i {
    color: #2563eb;
}

.role-card-icon-amber {
    background: linear-gradient(to bottom right, #fffbeb, #fef3c7);
    border-color: #fde68a;
}

.role-card-icon-amber i {
    color: #d97706;
}

.role-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.role-card:hover .role-card-title {
    color: #047857;
}

.role-card-blue:hover .role-card-title {
    color: #1d4ed8;
}

.role-card-amber:hover .role-card-title {
    color: #b45309;
}

.role-card-desc {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.role-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(to right, #10b981, #14b8a6);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.role-card-btn:hover {
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.3), 0 10px 10px -5px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

.role-card-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.role-card-btn:hover i {
    transform: translateX(4px);
}

.role-card-btn-blue {
    background: linear-gradient(to right, #3b82f6, #6366f1);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
}

.role-card-btn-blue:hover {
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.3);
}

.role-card-btn-amber {
    background: linear-gradient(to right, #f59e0b, #f97316);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.2);
}

.role-card-btn-amber:hover {
    box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.3);
}

/* 应用商城模块 - 液态玻璃效果 */
.app-store-section {
    position: relative;
    padding: 64px 16px;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    overflow: hidden;
}

.app-store-bg {
    position: absolute;
    inset: 0;
}

.app-store-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.05), rgba(6, 182, 212, 0.04), rgba(59, 130, 246, 0.05));
}

.app-store-blur-layer {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(100px);
    background: rgba(255, 255, 255, 0.3);
}

.app-store-glow {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

.app-store-glow-1 {
    top: 0;
    left: 25%;
    background-color: rgba(16, 185, 129, 0.4);
}

.app-store-glow-2 {
    bottom: 0;
    right: 25%;
    background-color: rgba(6, 182, 212, 0.4);
    animation-delay: 2s;
}

.app-store-glow-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-color: rgba(20, 184, 166, 0.3);
    filter: blur(100px);
    animation: none;
}

.app-store-grid {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(#10b981 1px, transparent 1px);
    background-size: 24px 24px;
}

.app-store-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .app-store-container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .app-store-container {
        padding: 0 32px;
    }
}

@media (min-width: 1280px) {
    .app-store-container {
        padding: 0 48px;
    }
}

.app-store-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.app-store-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-store-title-bar {
    width: 8px;
    height: 40px;
    background-color: #10b981;
    border-radius: 9999px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.app-store-title {
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.app-store-view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 9999px;
    color: #059669;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.app-store-view-all:hover {
    color: #047857;
    background: rgba(255, 255, 255, 0.8);
}

.app-store-view-all i {
    font-size: 12px;
}

.app-store-grid-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

@media (min-width: 640px) {
    .app-store-grid-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .app-store-grid-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .app-store-grid-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.app-store-card {
    display: block;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.app-store-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.app-store-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-store-card:hover .app-store-card-icon {
    transform: scale(1.1);
}

.app-store-card-icon i {
    font-size: 20px;
}

.app-store-card-icon-emerald,
.app-store-card-icon-blue,
.app-store-card-icon-purple,
.app-store-card-icon-orange,
.app-store-card-icon-cyan,
.app-store-card-icon-red,
.app-store-card-icon-teal,
.app-store-card-icon-indigo {
    background: #f9fafb;
}

.app-store-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.app-store-card-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-store-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(229, 231, 235, 0.5);
    font-size: 14px;
    color: #9ca3af;
}

.app-store-card-hot,
.app-store-card-star {
    display: flex;
    align-items: center;
    gap: 4px;
}

.app-store-card-hot i {
    color: #f87171;
}

.app-store-card-star i {
    color: #fbbf24;
}