/**
 * Docsify 风格 Markdown 预览样式
 * 文档风格，适合知识库和帮助文档
 */

.markdown-body.docsify {
    background: #ffffff;
    color: #333333;
    line-height: 1.7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.markdown-body.docsify h1,
.markdown-body.docsify h2,
.markdown-body.docsify h3,
.markdown-body.docsify h4,
.markdown-body.docsify h5,
.markdown-body.docsify h6 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

.markdown-body.docsify h1 {
    font-size: 1.75em;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #13c2c2;
    color: #319395;
}

.markdown-body.docsify h2 {
    font-size: 1.5em;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8e8e8;
    color: #319395;
}

.markdown-body.docsify h3 { font-size: 1.25em; color: #595959; }
.markdown-body.docsify h4 { font-size: 1.1em; color: #595959; }

.markdown-body.docsify p {
    margin-top: 0;
    margin-bottom: 16px;
}

.markdown-body.docsify a {
    color: #13c2c2;
    text-decoration: none;
}

.markdown-body.docsify a:hover {
    color: #0fa7a7;
    text-decoration: underline;
}

.markdown-body.docsify img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 16px auto;
}

.markdown-body.docsify figure {
    margin: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.markdown-body.docsify figcaption {
    display: block;
    margin-top: 5px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

.markdown-body.docsify figure a {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.markdown-body.docsify figure a img {
    margin: 16px auto;
}



.markdown-body.docsify code {
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    background-color: #f5f5f5;
    border-radius: 3px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    color: #e83e8c;
}

.markdown-body.docsify pre {
    /* padding: 16px; */
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    background-color: #f8f8f8;
    border-radius: 4px;
    border-left: 4px solid #13c2c2;
    margin: 16px 0;
}

.markdown-body.docsify pre code {
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: 0;
    font-size: 100%;
    color: #333333;
}

.markdown-body.docsify blockquote {
    padding: 0 16px;
    margin: 16px 0;
    color: #666666;
    border-left: 4px solid #13c2c2;
    background: #f8f8f8;
    border-radius: 0 4px 4px 0;
}

.markdown-body.docsify blockquote::before {
    content: '💡';
    margin-right: 8px;
}

.markdown-body.docsify ul,
.markdown-body.docsify ol {
    padding-left: 24px;
    margin-top: 0;
    margin-bottom: 16px;
}

.markdown-body.docsify li {
    margin: 8px 0;
}

.markdown-body.docsify li::marker {
    color: #13c2c2;
}

.markdown-body.docsify table {
    border-spacing: 0;
    border-collapse: collapse;
    margin: 16px 0;
    width: 100%;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
}

.markdown-body.docsify table th,
.markdown-body.docsify table td {
    padding: 10px 16px;
    border: 1px solid #e8e8e8;
}

.markdown-body.docsify table th {
    font-weight: 500;
    background-color: #f8f8f8;
    color: #319395;
}

.markdown-body.docsify table tr:nth-child(2n) {
    background-color: #fafafa;
}

.markdown-body.docsify hr {
    height: 2px;
    margin: 24px 0;
    background: linear-gradient(90deg, #13c2c2, #e8e8e8);
    border: none;
}

.markdown-body.docsify strong {
    font-weight: 600;
    color: #319395;
}

.markdown-body.docsify em {
    font-style: italic;
    color: #666666;
}
