
.help-wrapper {
    margin-top: 20px;
}

/* 双面板在移动端改为上下结构，列表在上，详情在下 */
.help-panels {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* 左侧列表区域 (移动端默认可见，内部滚动) */
.articles-list-section {
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef3f8;
    overflow: hidden;
    width: 100%;
}

.section-header {
    padding: 1rem 1.2rem 0.5rem 1.2rem;
    border-bottom: 1px solid #ecf3f8;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1f3a57;
}

.section-header i {
    color: #2c6b9e;
    font-size: 1.1rem;
}

.articles-list {
    list-style: none;
    padding: 0.25rem 0;
    max-height: 380px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.articles-list::-webkit-scrollbar {
    width: 3px;
}

.articles-list::-webkit-scrollbar-thumb {
    border-radius: 15px;
    -webkit-box-shadow: inset 0 0 5px rgba(100, 100, 100, 0.2);
    background: rgba(100, 100, 100, 0.2);
}

.articles-list::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(100, 100, 100, 0);
    border-radius: 0;
    background: rgba(100, 100, 100, 0);

}

.article-item {
    padding: 0.85rem 1.2rem;
    cursor: pointer;
    transition: background 0.15s;
    border-left: 3px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    background: white;
}

.article-item i {
    color: #8b9abb;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.article-info {
    flex: 1;
}

.article-title {
    font-weight: 500;
    font-size: 0.95rem;
    color: #1f2f41;
    margin-bottom: 0.2rem;
    line-height: 1.35;
}

.article-meta {
    font-size: 0.7rem;
    color: #7f91aa;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-item.active {
    background-color: #eff7fe;
    border-left-color: #2c6b9e;
}

.article-item.active .article-title {
    color: #1a5d8c;
    font-weight: 600;
}

.article-item.active i {
    color: #2c6b9e;
}

/* 右侧详情区域 (移动端卡片) */
.article-detail-section {
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef3f8;
    overflow: hidden;
    width: 100%;
}

.detail-content {
    padding: 1.4rem 1.2rem 1.8rem;
}

.detail-header {
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #ecf3f8;
    padding-bottom: 0.8rem;
}

.detail-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #103656;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.detail-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: #6c86a2;
    flex-wrap: wrap;
}

.detail-body {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #2b4056;
}

.detail-body p {
    margin-bottom: 1rem;
}

.detail-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.3rem 0 0.6rem;
    color: #1c4568;
}

.detail-body ul, .detail-body ol {
    margin: 0.6rem 0 0.9rem 1.4rem;
}

.detail-body li {
    margin: 0.3rem 0;
}

.detail-body code {
    background: #eef2f9;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: monospace;
    word-break: break-word;
}

.empty-detail i {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    opacity: 0.6;
}

.empty-detail h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 移动端更舒适滚动，卡片圆润 */
@media (max-width: 640px) {
    .detail-title {
        font-size: 1.3rem;
    }
}

@media (min-width: 768px) {
    .help-panels {
        flex-direction: row;
        align-items: flex-start;
    }

    .articles-list-section {
        flex: 1.2;
        position: sticky;
        top: 1rem;
    }

    .article-detail-section {
        flex: 2.2;
    }
}

.fade-in {
    animation: fadeEffect 0.2s ease;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}