 body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f5f5f5;
        color: #333;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box; /* 保证元素的宽度包括边框和内边距 */
        overflow-x: hidden; /* 防止横向滚动 */
    }

    * {
        box-sizing: border-box; /* 所有元素都采用 box-sizing: border-box */
    }

    .container {
        width: 90%;
        max-width: 1200px;
        margin: 20px auto;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 20px; /* 增加主内容和侧边栏之间的间距 */
    }

    .header {
        width: 100%;
        max-width: 1300px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        padding: 10px 20px;
        border-radius: 10px;
        overflow: hidden; /* 防止元素溢出引起滚动 */
    }

    .header .logo {
        display: flex;
        align-items: center;
        padding: 0px 0px 0px 30px;
    }

    .header .logo svg {
        height: 30px;
        margin-right: 10px;
        fill: #0078d4;
    }

    .header .logo span {
        font-size: 1.2em;
        font-weight: bold;
        color: #333;
    }

    .header .search-bar {
        display: flex;
        align-items: center;
        border: 1px solid #ddd;
        border-radius: 20px;
        padding: 5px 10px;
        flex-grow: 1;
        max-width: 300px;
    }

    .header .search-bar input {
        border: none;
        outline: none;
        padding: 5px;
        font-size: 0.9em;
        background-color: transparent;
        width: 100%;
    }

    .header .search-bar button {
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

    .header .search-bar button svg {
        height: 20px;
        fill: #999;
        transition: fill 0.3s ease;
    }

    .header .search-bar button:hover svg {
        fill: #0078d4;
    }

    .main-content {
        width: 70%;
        padding: 20px;
        border-radius: 10px;
    }

    .main-content h1 {
        font-size: 2em;
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        color: #0078d4;
    }

    .main-content .sub-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .main-content .sub-header .search-count,
    .main-content .sub-header .progress {
        font-size: 0.9em;
        color: #777;
    }

    .main-content .actions {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .main-content .actions > * {
        margin-right: 10px;
        font-size: 0.9em;
        color: #777;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .main-content .actions > *:hover {
        color: #0078d4;
    }

    .main-content .actions svg {
        height: 18px;
        fill: #777;
        vertical-align: middle;
        transition: fill 0.3s ease;
    }

    .main-content .actions > *:hover svg {
        fill: #0078d4;
    }

    .main-content h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
        margin-top: 20px;
        color: #333;
    }

    .main-content p {
        font-size: 1em;
        line-height: 1.8;
        margin-bottom: 20px;
        color: #555;
    }

    .sidebar {
        width: 28%;
        padding: 20px;
        border-radius: 10px;
    }

    .sidebar h2 {
        font-size: 1.2em;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 5px;
        color: #0078d4;
    }

    .sidebar ol {
        padding-left: 20px;
    }

    .sidebar li {
        font-size: 0.9em;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .sidebar li a {
        color: #0078d4;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .sidebar li a:hover {
        text-decoration: underline;
        color: #005bb5;
    }

    .sidebar li .source {
        display: block;
        font-size: 0.8em;
        color: #777;
        margin-top: 5px;
    }

    @media (max-width: 900px) {
        .container {
            flex-wrap: wrap;
            flex-direction: column;
        }
        .main-content, .sidebar {
            width: 100%;
            order: 1;
        }
        .header .search-bar {
            max-width: 200px;
            margin-top: 10px;
        }
    }

    /* 代码块样式 */
    pre {
        background-color: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 15px;
        overflow-x: auto;
        font-family: 'Courier New', Courier, monospace;
        font-size: 0.9em;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    code {
        background-color: #f8f9fa;
        padding: 2px 4px;
        border-radius: 3px;
        font-family: 'Courier New', Courier, monospace;
        font-size: 0.9em;
        color: #d63384;
    }

    /* 有序列表和无序列表样式 */
    ul, ol {
        margin-bottom: 20px;
        padding-left: 20px;
    }

    ul li, ol li {
        font-size: 1em;
        line-height: 1.8;
        color: #555;
        margin-bottom: 10px;
    }

    ul li::marker {
        color: #0078d4;
    }

    ol li::marker {
        color: #0078d4;
        font-weight: bold;
    }

    /* 加粗样式 */
    strong, b {
        color: #333;
        font-weight: bold;
    }

    /* 引用样式 */
    blockquote {
        border-left: 4px solid #0078d4;
        padding: 10px 20px;
        margin: 20px 0;
        background-color: #f8f9fa;
        color: #555;
        font-style: italic;
    }

    blockquote p {
        margin: 0;
    }

    /* 超链接样式 */
    a {
        color: #0078d4;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    a:hover {
        color: #005bb5;
        text-decoration: underline;
    }

    /* 表格样式 */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 5px;
        overflow: hidden;
    }

    table th, table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    table th {
        background-color: #f8f9fa;
        font-weight: bold;
        color: #333;
    }

    table tr:hover {
        background-color: #f1f1f1;
    }

    /* 图片样式 */
    img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
        margin-bottom: 20px;
    }

    /* 分割线样式 */
    hr {
        border: 0;
        height: 1px;
        background-color: #ddd;
        margin: 20px 0;
    }
/* 页脚整体样式 */
.blog-footer {
        width: 100%;
    background: linear-gradient(to bottom, #f0f0f0, #c0c0c0);
    color: #fff; /* 文字颜色 */
    font-family: 'Arial', sans-serif; /* 字体 */
        text-align: center; /* 文字居中 */
}
/* 页脚容器 */
.footer-container {
    max-width: 1200px; /* 最大宽度 */
    margin: 0 auto; /* 水平居中 */
    padding: 0 20px; /* 左右内边距 */
    display: flex; /* 分栏布局 */
    justify-content: space-between; /* 内容均匀分布 */
    flex-wrap: wrap; /* 小屏幕换行 */
    gap: 20px; /* 栏目间距 */
}
/* 底部版权信息样式 */
.footer-bottom {
    text-align: center; /* 文字居中 */
    padding: 20px 0; /* 上下内边距 */
    margin-top: 20px; /* 顶部外边距 */
}

.footer-bottom p {
    margin: 5px 0; /* 上下外边距 */
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8); /* 半透明文字 */
}

.footer-bottom a {
    color: #1abc9c; /* 链接颜色 */
    text-decoration: none; /* 去掉下划线 */
}

.footer-bottom a:hover {
    text-decoration: underline; /* 悬停时下划线 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* 小屏幕垂直排列 */
        text-align: center; /* 文字居中 */
    }

    .footer-social {
        justify-content: center; /* 图标居中 */
    }

    .footer-title::after {
        left: 50%; /* 下划线居中 */
        transform: translateX(-50%);
    }
}
     .tip-box {
background-color: #f0f8ff;
  border-left: 5px solid #1e90ff;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 13px;
        }
