        /* --- 基础样式复用 --- */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: "Microsoft YaHei", sans-serif; background-color: #f4f4f4; color: #333; }
        a { text-decoration: none; color: #333; }
        a:hover { color: #ff4757; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }

        /* --- 头部样式 --- */
        header { background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
        .top-bar { width: 1000px; margin: 0 auto; padding: 15px 0; display: flex; justify-content: space-between; }
        .logo { font-size: 24px; font-weight: bold; color: #ff4757; font-family: "Impact"; }
        .nav-bar { background: #2f3542; }
        .nav-container { width: 1000px; margin: 0 auto; }
        .nav-menu { display: flex; }
        .nav-menu li a { display: block; padding: 12px 18px; color: #fff; }
        .nav-menu li a:hover { background: #ff4757; }

        /* --- 面包屑导航 --- */
        .breadcrumb { width: 1000px; margin: 15px auto; font-size: 14px; color: #666; }
        .breadcrumb a { color: #666; }
        .breadcrumb a:hover { color: #ff4757; }

        /* --- 主体布局 --- */
        .container { width: 1000px; margin: 0 auto 20px; display: flex; gap: 20px; }
        .main-col { flex: 1; }
        .side-col { width: 300px; }

        /* --- 模块通用样式 --- */
        .module { background: #fff; padding: 20px; margin-bottom: 20px; border-radius: 4px; }
        .module-title { font-size: 18px; border-left: 4px solid #ff4757; padding-left: 10px; margin-bottom: 15px; font-weight: bold; }

        /* --- 详情页专用样式 (已修复) --- */
        .article-header { border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 20px; }
        .article-title { font-size: 24px; line-height: 1.4; margin-bottom: 15px; color: #2f3542; }
        .article-meta { font-size: 13px; color: #999; display: flex; gap: 15px; }
        .article-meta span { display: flex; align-items: center; }
        .article-meta i { margin-right: 5px; font-style: normal; color: #ff4757; }

        /* 重点修改：增加 white-space: pre-wrap 和 word-break */
        .article-content { 
            font-size: 16px; 
            line-height: 1.8; 
            color: #333; 
            white-space: pre-wrap;  /* 保留原文中的换行符 */
            word-break: break-word; /* 防止长单词溢出 */
        }
        
        /* 上下篇导航 */
        .post-nav { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; display: flex; justify-content: space-between; }
        .post-nav a { font-size: 14px; color: #666; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
        .post-nav a:hover { color: #ff4757; }

        /* --- 侧边栏列表 --- */
        .side-list li { padding: 10px 0; border-bottom: 1px dashed #eee; display: flex; justify-content: space-between; }
        .side-list .title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 10px; }
        .side-list .date { font-size: 12px; color: #999; }

        /* --- 页脚 --- */
        footer { background: #2f3542; color: #747d8c; text-align: center; padding: 30px 0; margin-top: 20px; }