.markdown-content {
    /* width: 100%; */
    /* height: 100vh; */
    margin-block-start: 2px;
    padding: 2px;
    box-sizing: border-box;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.1;
    color: #333;
}

/* Markdown样式优化 */
.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    margin-top: 6px;
    margin-bottom: 4px;
    font-weight: 600;
    line-height: 1.1;
}

.markdown-content p {
    margin-bottom: 4px;
    margin-block-start: 2px;
}

.markdown-content code {
    font-size: 12px;
}

.markdown-content pre {
    background-color: #eee;
    border-radius: 3px;
    padding: 8px;
    overflow: auto;
    margin: 0.4em 0;
    /* 保留换行符并允许自动换行 */
    white-space: pre-wrap;
    /* 允许长单词断行 */
    word-wrap: break-word;
}