/* 强制父容器允许横向滚动 */
.mermaid {
    overflow-x: auto !important;
    width: 100% !important;
}

/* 暴力锁定 SVG 的尺寸，彻底无视父容器宽度 */
.mermaid svg {
    max-width: none !important;
    width: 1200px !important;
    height: auto !important;
}

/* 美化滚动条 */
.mermaid::-webkit-scrollbar {
    height: 8px;
}

.mermaid::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
