* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4a6cf7;
    --secondary: #ff6b6b;
    --dark: #0f172a;
    --darker: #0a0f1f;
    --light: #f1f5f9;
    --gray: #94a3b8;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, var(--darker), var(--dark));
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: rgb(137,192,255);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: var(--gray);
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icons a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* 阅读进度条 */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1001;
}

.progress-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.2s ease;
}

/* 文章头部区域 */
.article-header {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;

}

.article-header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.article-category {
    display: inline-block;
    background: rgba(74, 108, 247, 0.15);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(120deg, var(--light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 文章内容区域 */
.article-content {
    flex: 1;
    min-width: 60%;
    max-width: 75%;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin: 3.5rem 0 1.8rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.article-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 2.5rem 0 1.2rem;
    color: var(--light);
}

.article-content p {
    margin-bottom: 2rem;
    color: #e2e8f0;
    font-size: 1.15rem;
    line-height: 1.8;
}

.article-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(74, 108, 247, 0.2);
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}

.article-content img:hover {
    transform: translateY(-5px);
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background: rgba(74, 108, 247, 0.1);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #e2e8f0;
    font-size: 1.15rem;
}

.article-content ul {
    padding-left: 2.5rem;
    margin: 1.8rem 0;
}

.article-content li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.code-block {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(74, 108, 247, 0.3);
    border-radius: 10px;
    padding: 1.8rem;
    margin: 2.5rem 0;
    overflow-x: auto;
    font-family: monospace;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--gray);
}


/* 文章操作栏 */
.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 3rem 0;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:hover {
    background: rgba(74, 108, 247, 0.1);
    color: var(--primary);
    border-color: rgba(74, 108, 247, 0.3);
}

/* 相关文章 */
.related-section {
    padding: 4rem 0 6rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}


.posts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
}

.post-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 370px;
}
@media (max-width: 768px) {
    .post-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 108, 247, 0.25);
    border-color: rgba(74, 108, 247, 0.2);
}

.post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.post-image {
    height: 220px;
    width: 100%;
    background: linear-gradient(45deg, #64748b, #475569);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.1);
    font-size: 3rem;
}
.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-content {
    padding: 1.8rem;
}

.post-category {
    display: inline-block;
    background: rgba(74, 108, 247, 0.15);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-excerpt {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(74, 108, 247, 0.6);
}


/* 装饰元素 */
.circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.15), transparent);
    top: 10%;
    right: 10%;
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), transparent);
    bottom: 20%;
    left: 5%;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .article-title {
        font-size: 2.8rem;
    }

    .article-content {
        font-size: 1.05rem;
    }

    .article-content h2 {
        font-size: 2rem;
    }

    .article-content h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .article-header {
        min-height: 50vh;
        padding-top: 6rem;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .article-actions {
        flex-direction: column;
        gap: 1rem;
    }
}

/* 动画效果 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Markdown样式 */
.article-content {
    line-height: 1.3;
}

.article-content pre {
    background: rgba(71, 74, 80, 0.9);
    padding: 10px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 1.3em;
    font-family: "Microsoft YaHei", "微软雅黑", Helvetica, Tahoma, STXihei, "华文细黑", STHeiti, "Helvetica Neue", Helvetica, Tahoma, "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "宋体", Heiti, "黑体", sans-serif;
    font-width: 600;
    position: relative;
    overflow: visible;
    margin-bottom: 20px;
}

.copy-code-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(74, 108, 247, 0.15);
  color: var(--primary);
  border: none;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  opacity: 0; /* 默认隐藏 */
  transform: translateY(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.article-content pre:hover .copy-code-btn {
  opacity: 1;
  transform: translateY(0);
}

.copy-code-btn:hover {
  background: rgba(74, 108, 247, 0.3);
}

.copy-code-btn.copied {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}

.article-content code {
    font-size: 0.85em;
    font-weight: 200;
    font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
    /*font-style: italic;*/
    border-radius: 6px;
    background: rgba(255, 255, 255, 0);
}

/* 表格样式 */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.5rem 0;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
}

th, td {
  padding: 12px 15px;
  border: 1px solid rgba(192, 194, 196, 0.9);
  text-align: left;
}

th {
  background-color: #7193c4;
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: rgba(175, 173, 173, 0.6);
}


/* 语法高亮颜色 */
.token.comment {
  color: #6a9955;
}
.token.keyword {
  color: #569cd6;
}
.token.string {
  color: #ce9178;
}

/* 目录样式 */
.article-body {
    display: flex;
    gap: 3%;
    position: relative;
}

.article-toc {
    margin-top: 120px;
    flex: 0 0 20%;
    position: sticky;
    top: 120px;
    height: min-content;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--primary) 80%, #000) transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    background-color: #0f172a;
    border-radius: 10px;
    padding: 0.8rem;
}


.toc-header {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2377c9;
}

.toc-content a {
    display: block;
    padding: 6px 12px;
    color: #abc6e5;
    text-decoration: none;
    transition: all 0.2s ease;
}

.toc-content a.toc-h2 {
    padding-left: 1.5em;
    font-size: 0.95em;
}

.toc-content a.toc-h3 {
    padding-left: 3em;
    font-size: 0.9em;
}

.toc-content a.toc-h4 {
    padding-left: 4.5em;
    font-size: 0.85em;
}

.toc-content a.toc-h5 {
    padding-left: 6em;
    font-size: 0.8em;
}

.toc-content a:hover {
    background: #8f949a;
    transform: translateX(6px);
}



@media (max-width: 768px) {
    .article-toc {
        position: fixed;
        left: -100%;
        width: 80%;
        transition: all 0.3s ease;
        z-index: 1000;
        background: white;
    }

    .article-toc.active {
        left: 10px;
    }

    .article-content {
        max-width: 100%;
    }
}

 /* 评论区域样式 */
        .comments-section {
            position: relative;
            overflow: hidden;
        }

        .section-title {
            font-size: 2.2rem;
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            background: linear-gradient(120deg, var(--light), var(--primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .section-title:after {
            content: '';
            position: absolute;
            bottom: -1rem;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 2px;
        }

        .comments-container {
            max-width: 75%;
            margin: 0 auto;
        }

        .comments-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 1rem;
            background: rgba(15, 23, 42, 0.5);
            border-radius: 10px;
        }

        .comments-count {
            font-size: 1.2rem;
            color: var(--primary);
            font-weight: 600;
        }

        .sort-comments {
            display: flex;
            gap: 1rem;
        }

        .sort-btn {
            background: transparent;
            color: var(--gray);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
        }

        .sort-btn:hover, .sort-btn.active {
            background: rgba(74, 108, 247, 0.1);
            color: var(--primary);
            border-color: rgba(74, 108, 247, 0.3);
        }

        /* 评论列表 */
        .comments-list {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .comment {
            background: rgba(15, 23, 42, 0.6);
            border-radius: 12px;
            padding: 1.5rem;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: var(--transition);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .comment:hover {
            transform: translateY(-5px);
            border-color: rgba(74, 108, 247, 0.3);
            box-shadow: 0 10px 25px rgba(74, 108, 247, 0.15);
        }

        .comment-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }

        .user-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.2rem;
            margin-right: 1rem;
        }

        .user-info {
            flex-grow: 1;
        }

        .username {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.2rem;
        }

        .comment-date {
            color: var(--gray);
            font-size: 0.9rem;
        }

        .comment-actions {
            display: flex;
            gap: 1rem;
        }

        .action-btn {
            background: transparent;
            border: none;
            color: var(--gray);
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .action-btn:hover {
            color: var(--primary);
        }

        .comment-content {
            color: #e2e8f0;
            line-height: 1.7;
            padding-left: 62px; /* 对齐头像 */
        }

        /* 回复区域 */
        .replies {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.reply {
    background: rgba(10, 15, 30, 0.7);
    border-radius: 8px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.reply:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.2);
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.reply-user-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 15px;
}

.reply-user {
    font-weight: 600;
    font-size: 0.95rem;
}

.reply-to {
    color: var(--gray);
    font-size: 0.85rem;
}

.reply-username {
    color: var(--primary);
    font-weight: 500;
}

.reply-date {
    color: #94a3b8;
    font-size: 0.9rem;
}

.reply-content {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 44px;
}

        .comment-actions {
    margin-left: auto;
}

        /* 回复表单样式 */
        .reply-form {
            display: none;
            background: rgba(15, 23, 42, 0.5);
            border-radius: 8px;
            padding: 1rem;
            margin-top: 1rem;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .reply-input {
            width: 100%;
            padding: 0.8rem 1rem;
            background: rgba(15, 23, 42, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: var(--light);
            font-size: 1rem;
            transition: var(--transition);
            min-height: 80px;
            resize: vertical;
        }

        .reply-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
        }

        .reply-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 0.8rem;
            margin-top: 0.8rem;
        }

        .reply-btn {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 0.5rem 1.2rem;
            border-radius: 50px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
        }

        .reply-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 3px 10px rgba(74, 108, 247, 0.3);
        }

        .cancel-btn {
            background: transparent;
            color: var(--gray);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 0.5rem 1.2rem;
            border-radius: 50px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
        }

        .cancel-btn:hover {
            background: rgba(255, 107, 107, 0.1);
            color: var(--secondary);
            border-color: rgba(255, 107, 107, 0.3);
        }

        /* 评论表单 */

        .no-comments {
            text-align: center;
            color: #888;
            font-size: 1.1rem;
            padding: 2rem;
            background-color: rgba(15, 23, 42, 0.1);
            border-radius: 8px;
            border: 1px dashed #666;
            margin: 1.5rem 0;
        }
        .comment-form {
            background: rgba(15, 23, 42, 0.6);
            border-radius: 12px;
            padding: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 2rem;
        }

        .form-title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: var(--light);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--gray);
        }

        .form-control {
            width: 100%;
            padding: 0.8rem 1rem;
            background: rgba(15, 23, 42, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: var(--light);
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
        }

        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }

        .button-container {
            display: flex;
            justify-content: flex-end;
        }

        .submit-btn {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(74, 108, 247, 0.4);
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .comments-stats {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }

            .comment-content {
                padding-left: 0;
            }

            .comment-header {
                flex-wrap: wrap;
            }

            .comment-actions {
                width: 100%;
                margin-top: 1rem;
                padding-left: 62px;
            }

            .replies {
                padding-left: 15px;
            }
        }
        
.comment-user-info {
    display: flex; /* 使用 Flexbox 布局 */
    align-items: center; /* 垂直居中对齐 */
    margin-bottom: 2rem;
}

.comment-user-info .user-avatar {
    margin-right: 1rem; /* 头像右侧添加间距 */
}

.comment-user-info .username {
    font-weight: 600; /* 设置用户名的字体粗细 */
    font-size: 1.1rem; /* 设置用户名的字体大小 */
}