/*
Theme Name: vss
Theme URI: https://example.com
Description: A custom WordPress theme with three-column layout
Author: VSS
Author URI: https://example.com
Version: 1.0
Text Domain: vss
*/

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #e8f4f8; /* 淡蓝色背景 */
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
}

/* 页头样式 */
header {
    background: transparent; /* 完全透明背景 */
    padding: 20px 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.quote-carousel {
    flex: 1;
    text-align: center;
    margin: 0 20px;
}

/* 已移除昼夜切换相关样式 */

/* 主内容区域样式 */
.main-content {
    display: flex;
    width: 100%;
    margin-top: 20px;
    gap: 20px;
    /* 确保主内容区域不会因为子元素的滚动而被拉伸 */
    align-items: flex-start;
}

/* 左侧边栏样式 */
.left-sidebar {
    width: 300px;
    max-width: 100%;
    flex-shrink: 0;
    /* 启用滚动功能 */
    overflow-y: auto;
    /* 设置最大高度为视口高度减去顶部间距 */
    max-height: calc(100vh - 40px);
    /* 隐藏滚动条但保留滚动功能（WebKit浏览器） */
    scrollbar-width: thin;
    scrollbar-color: rgba(150, 150, 150, 0.5) transparent;
}

/* 移除了滚动条样式 */

/* 已移除暗色模式相关样式 */

/* 移动端响应式调整 - 禁用sticky定位 */
@media (max-width: 1200px) {
    .left-sidebar,
    .right-sidebar {
        position: static;
        max-height: none;
    }
}

/* 左侧边栏合并卡片样式 */
.left-sidebar-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.user-profile {
    margin-bottom: 20px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-details {
    flex: 1;
}

.user-nickname {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.user-greeting {
    display: inline-block;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.site-menu {
    margin-bottom: 20px;
    padding: 0;
}

.site-menu ul {
    list-style: none;
}

.site-menu li {
    margin-bottom: 10px;
}

.site-menu a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    display: block;
    padding: 8px 15px;
    border-radius: 5px;
}

.site-menu a:hover {
    color: #6e8efb;
    background-color: rgba(110, 142, 251, 0.1);
}

/* 当前页面菜单项样式 */
.site-menu li.current-menu-item a,
.site-menu li.current_page_item a {
    background-color: rgba(110, 142, 251, 0.2);
    color: #6e8efb;
    font-weight: 500;
}

/* 评论表单水平排列样式 */
.comment-form-fields-inline {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.comment-form-fields-inline input {
    flex: 1;
    min-width: 150px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.comment-form-fields-inline input[type="submit"] {
    min-width: auto;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.site-stats {
    margin-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.stat-item {
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.stat-number {
    font-size: 20px;
    font-weight: bold;
    color: #6e8efb;
}

.search-box {
    margin-top: 20px;
    padding: 0;
}

.search-form {
    display: flex;
}

.search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
}

.search-button {
    background-color: #6e8efb;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* 中间内容栏样式 */
.content-area {
    flex: 1;
    max-width: 880px;
    min-width: 0; /* 允许内容区域在flex容器中收缩 */
    /* 启用滚动功能 */
    overflow-y: auto;
    /* 设置最大高度为视口高度减去顶部间距 */
    max-height: calc(100vh - 40px);
    /* 隐藏滚动条但保留滚动功能（WebKit浏览器） */
    scrollbar-width: thin;
    scrollbar-color: rgba(150, 150, 150, 0.5) transparent;
}

/* 公告栏样式 */
.announcement-bar {
    display: flex;
    align-items: center;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    gap: 10px;
}

.announcement-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-text {
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

/* 响应式公告栏 */
@media (max-width: 768px) {
    .announcement-bar {
        padding: 10px 12px;
    }
    
    .announcement-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .announcement-text {
        font-size: 13px;
    }
}

.post-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.post-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin-right: 15px;
}

.post-author-info {
    flex: 1;
}

.post-author {
    font-weight: bold;
    margin-bottom: 5px;
}

.post-date {
    font-size: 14px;
    color: #666;
}

.post-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.post-title a {
    color: #6e8efb;
    text-decoration: none;
}

.post-excerpt {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 文章图片自适应布局 */
.post-images {
    margin-top: 15px;
    width: 100%;
}

.images-grid {
    display: grid;
    gap: 8px;
    width: 100%;
    overflow: hidden;
}

.grid-image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 懒加载图片样式 - 修改版 */
img.lazy {
    opacity: 1; /* 默认显示图片，不再隐藏 */
    transition: opacity 0.3s ease-in;
    background-color: #f5f5f5;
    position: relative;
}

/* 图片懒加载占位符样式 */
img.lazy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 50%, #f0f0f0 50%, #f0f0f0 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    animation: placeholderAnimation 1s linear infinite;
}

@keyframes placeholderAnimation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 0;
    }
}

.grid-image:hover img {
    transform: scale(1.05);
}

/* 根据图片数量自动调整网格布局 */
/* 单张图片 - 最大宽度60% */
.images-grid:has(.grid-image:nth-child(1):last-child) {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-width: 60%; /* 最大显示宽度为60% */
    /* 移除居中显示，默认靠左对齐 */
}

.images-grid:has(.grid-image:nth-child(1):last-child) .grid-image {
    aspect-ratio: 16/9;
    max-height: 400px;
}

/* 两张图片 - 最大宽度100% */
.images-grid:has(.grid-image:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    gap: 8px;
    max-width: 100%; /* 最大显示宽度为100% */
    /* 移除居中显示，默认靠左对齐 */
}

.images-grid:has(.grid-image:nth-child(2):last-child) .grid-image {
    aspect-ratio: 1/1;
}

/* 三张图片 - 最大宽度100% */
.images-grid:has(.grid-image:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    gap: 8px;
    max-width: 100%; /* 最大显示宽度为100% */
    /* 默认靠左对齐 */
}

.images-grid:has(.grid-image:nth-child(3):last-child) .grid-image {
    aspect-ratio: 1/1;
}

/* 四张图片 - 最大宽度100% */
.images-grid:has(.grid-image:nth-child(4):last-child) {
    grid-template-columns: repeat(4, 1fr); /* 改为4列布局 */
    grid-template-rows: 1fr;
    gap: 8px;
    max-width: 100%; /* 最大显示宽度为100% */
    /* 移除居中显示，默认靠左对齐 */
}

.images-grid:has(.grid-image:nth-child(4):last-child) .grid-image {
    aspect-ratio: 1/1;
}

/* 五张图片 - 最大宽度100% */
.images-grid:has(.grid-image:nth-child(5):last-child) {
    grid-template-columns: repeat(4, 1fr); /* 改为4列布局 */
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    max-width: 100%; /* 最大显示宽度为100% */
    /* 默认靠左对齐 */
}

.images-grid:has(.grid-image:nth-child(5):last-child) .grid-image {
    aspect-ratio: 1/1;
}

/* 六张图片 - 最大宽度100% */
.images-grid:has(.grid-image:nth-child(6):last-child) {
    grid-template-columns: repeat(4, 1fr); /* 改为4列布局 */
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    max-width: 100%; /* 最大显示宽度为100% */
    /* 默认靠左对齐 */
}

.images-grid:has(.grid-image:nth-child(6):last-child) .grid-image {
    aspect-ratio: 1/1;
}

/* 七到八张图片 - 4x2网格 - 最大宽度100% */
.images-grid:has(.grid-image:nth-child(n+7)) {
    grid-template-columns: repeat(4, 1fr); /* 保持4列布局 */
    grid-template-rows: repeat(2, 1fr); /* 改为2行，更适合8张图片 */
    gap: 8px;
    max-width: 100%; /* 最大显示宽度为100% */
    /* 默认靠左对齐 */
}

.images-grid:has(.grid-image:nth-child(n+7)) .grid-image {
    aspect-ratio: 1/1;
}

/* 单页文章内容排版样式 */
.post-content {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.5px;
    color: #333;
}

/* 优化段落样式 */
.post-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* 优化标题样式 */
.post-content h1, 
.post-content h2, 
.post-content h3, 
.post-content h4, 
.post-content h5, 
.post-content h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.post-content h1 {
    font-size: 28px;
    border-bottom: 2px solid #6e8efb;
    padding-bottom: 10px;
}

.post-content h2 {
    font-size: 24px;
    border-bottom: 1px solid #e1e8ed;
    padding-bottom: 8px;
}

.post-content h3 {
    font-size: 20px;
}

/* 优化图片显示效果 */
.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-content img:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 图片懒加载优化 */
.post-content img.lazy {
    opacity: 0;
    background-color: #f8f9fa;
    position: relative;
}

/* 图片加载完成后的动画效果 */
.post-content img.loaded {
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

/* 优化引用块样式 */
.post-content blockquote {
    margin: 20px 0;
    padding: 15px 20px 15px 45px;
    border-left: 4px solid #6e8efb;
    background-color: #f8f9fa;
    font-style: italic;
    position: relative;
}

.post-content blockquote::before {
    content: '"';
    font-size: 48px;
    color: #e1e8ed;
    position: absolute;
    left: 10px;
    top: -10px;
}

/* 优化列表样式 */
.post-content ul, 
.post-content ol {
    margin: 15px 0 15px 20px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* 优化链接样式 */
.post-content a {
    color: #6e8efb;
    text-decoration: none;
    transition: color 0.2s ease, border-bottom 0.2s ease;
    border-bottom: 1px solid rgba(110, 142, 251, 0.3);
}

.post-content a:hover {
    color: #5a79d9;
    border-bottom-color: #5a79d9;
}

/* 优化代码块样式 */
.post-content pre, 
.post-content code {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.post-content code {
    padding: 2px 6px;
    font-size: 0.9em;
}

.post-content pre {
    padding: 15px;
    margin: 20px 0;
    overflow-x: auto;
    border: 1px solid #e1e8ed;
}

.post-content pre code {
    padding: 0;
    background-color: transparent;
}

/* 优化表格样式 */
.post-content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.post-content th, 
.post-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e1e8ed;
}

.post-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.post-content tr:hover {
    background-color: #f8f9fa;
}

/* 确保响应式设计 */
@media (max-width: 768px) {
    /* 移动端响应式布局 - 调整最大宽度 */
    /* 移动端响应式设计 */
    /* 单张图片在移动端使用90%宽度 */
    .images-grid:has(.grid-image:nth-child(1):last-child) {
        max-width: 90% !important; /* 单张图片在移动端使用90%宽度 */
    }
    /* 两张及以上图片在移动端使用100%宽度 */
    .images-grid:has(.grid-image:nth-child(n+2)) {
        max-width: 100% !important; /* 两张及以上图片在移动端使用100%宽度 */
    }
    
    /* 调整移动端网格列数 */
    .images-grid:has(.grid-image:nth-child(n+3)) {
        grid-template-columns: repeat(2, 1fr) !important; /* 三张及以上图片在移动端使用2列 */
    }
    
    /* 六张及以上图片在移动端使用3列 */
    .images-grid:has(.grid-image:nth-child(n+6)) {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    /* 移动端布局调整 */
    /* 隐藏左右侧边栏 */
    .left-sidebar,
    .right-sidebar {
        display: none !important;
    }
    
    /* 中间内容栏占满整个宽度 */
    .content-area {
        width: 100% !important;
        padding: 0 8px !important; /* 减少左右内边距，让内容显示更多 */
    }
    
    /* 主容器布局调整 */
    .main-content {
        flex-direction: column !important;
    }
    
    /* 移动端底部导航栏样式 */
    .mobile-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background-color: #fff !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
        height: 60px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* 移动端导航列表 */
    .mobile-nav-list {
        display: flex !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* 移动端导航项 */
    .mobile-nav-list li {
        flex: 1 !important;
        text-align: center !important;
    }
    
    /* 移动端导航链接 */
    .mobile-nav-list a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px 0 !important;
        color: #333 !important;
        text-decoration: none !important;
        font-size: 12px !important;
        transition: color 0.3s !important;
    }
    
    /* 激活状态的导航链接 */
    .mobile-nav-list a.current-menu-item,
    .mobile-nav-list a:hover {
        color: #ff6b6b !important;
    }
    
    /* 导航图标样式 - 可以添加默认图标 */
    .nav-icon {
        font-size: 20px !important;
        margin-bottom: 4px !important;
    }
    
    /* 为不同菜单项设置默认图标 */
    .mobile-nav-list li:nth-child(1) .nav-icon:before {
        content: '🏠';
    }
    
    .mobile-nav-list li:nth-child(2) .nav-icon:before {
        content: '📝';
    }
    
    .mobile-nav-list li:nth-child(3) .nav-icon:before {
        content: '📋';
    }
    
    .mobile-nav-list li:nth-child(4) .nav-icon:before {
        content: '🔗';
    }
    
    .mobile-nav-list li:nth-child(5) .nav-icon:before {
        content: '💬';
    }
    
    /* 为页脚添加下边距，防止被底部导航栏遮挡 */
    footer {
        margin-bottom: 70px !important;
    }
    
    /* 为内容区域添加底部内边距，防止被底部导航栏遮挡 */
    .content-area {
        padding-bottom: 70px !important;
    }
}

/* 朋友动态刷新功能样式 */
.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.refresh-button {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-button:hover {
    background-color: #f5f5f5;
    color: #333;
    border-color: #ccc;
}

.refresh-button.refreshing svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 默认隐藏移动端导航栏（桌面端） */
@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
}

/* 右侧边栏样式 */
.right-sidebar {
    width: 300px;
    max-width: 100%;
    flex-shrink: 0;
    /* 启用滚动功能 */
    overflow-y: auto;
    /* 设置最大高度为视口高度减去顶部间距 */
    max-height: calc(100vh - 40px);
    /* 隐藏滚动条但保留滚动功能（WebKit浏览器） */
    scrollbar-width: thin;
    scrollbar-color: rgba(150, 150, 150, 0.5) transparent;
}

.popular-posts {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.popular-posts h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.popular-post-item {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.popular-post-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-rank {
    font-size: 24px;
    font-weight: bold;
    color: #6e8efb;
    margin-right: 15px;
    opacity: 0.7;
}

.popular-post-content {
    flex: 1;
}

.popular-post-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.popular-post-title a {
    color: #333;
    text-decoration: none;
}

.popular-post-title a:hover {
    color: #6e8efb;
}

.popular-post-stats {
    font-size: 12px;
    color: #666;
}

/* 友情链接页面样式 */
/* 链接分类标题样式 */
.link-category-section {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.link-category-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6e8efb;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-icon {
    color: #6e8efb;
}

.category-count {
    font-size: 14px;
    font-weight: normal;
    color: #6e8efb;
    margin-left: 8px;
}

/* 链接网格布局样式 */
.link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* 单个友情链接卡片样式 */
.link-item {
    transition: transform 0.3s ease;
}

.link-item:hover {
    transform: translateY(-3px);
}

.link-card {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.link-card:hover {
    background-color: #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 头像样式 - 40x40大小 */
.link-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 6px;
    overflow: hidden;
}

.link-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 链接信息样式 */
.link-info {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40px; /* 与头像高度一致 */
}

.link-name {
    font-size: 14px;
    font-weight: bold;
    color: #6e8efb;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-description {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 朋友动态样式 */
.friends-updates {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.friends-updates h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.friends-updates h3::before {
    content: '✨';
    font-size: 16px;
}

.friend-update-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.friend-update-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.friend-update-title {
    margin-bottom: 4px;
}

.friend-update-title a {
    color: #6e8efb;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.friend-update-title a:hover {
    color: #5a79d9;
}

.friend-update-meta {
    font-size: 12px;
    color: #666;
}

.no-links, .no-updates {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

/* 关于页面样式 */
/* 关于博主部分样式 */
.about-section {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-content {
    line-height: 1.8;
}

.about-text {
    color: #333;
}

.about-text h2,
.about-text h3,
.about-text h4 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 15px;
}

.about-text h2 {
    font-size: 24px;
    border-bottom: 2px solid #6e8efb;
    padding-bottom: 10px;
}

.about-text h3 {
    font-size: 20px;
    color: #6e8efb;
}

.about-text h4 {
    font-size: 16px;
    color: #333;
}

.about-text p {
    margin-bottom: 15px;
}

.about-text a {
    color: #6e8efb;
    text-decoration: none;
}

.about-text a:hover {
    text-decoration: underline;
}

/* 默认关于信息样式 */
.default-about {
    color: #333;
}

.default-about h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6e8efb;
}

.default-about h4 {
    font-size: 18px;
    color: #6e8efb;
    margin-top: 20px;
    margin-bottom: 10px;
}

.default-about p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #333;
}

/* 博客大事记样式 */
.blog-milestones {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-milestones h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-milestones h3::before {
    content: '📅';
    font-size: 16px;
}

.milestones-list {
    position: relative;
    padding-left: 20px;
}

.milestones-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #6e8efb;
    opacity: 0.3;
}

.milestone-item {
    position: relative;
    margin-bottom: 15px;
    padding-left: 15px;
}

.milestone-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #6e8efb;
}

.milestone-date {
    font-size: 14px;
    font-weight: bold;
    color: #6e8efb;
    margin-bottom: 3px;
}

.milestone-content {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

/* 页脚样式 */
footer {
    background-color: white;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .right-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    /* 重置三栏的滚动相关样式，恢复为正常布局 */
    .left-sidebar,
    .content-area,
    .right-sidebar {
        max-width: 100%;
        width: 100%;
        overflow-y: visible;
        max-height: none;
        scrollbar-width: auto;
        scrollbar-color: auto;
    }
    
    /* 隐藏左侧边栏 */
    .left-sidebar {
        display: none;
    }
    
    /* 隐藏右侧边栏 */
    .right-sidebar {
        display: none;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .quote-carousel {
        margin: 0;
    }
}

/* 自定义分页样式 - 蓝色圆圈背景数字按钮 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #6e8efb;
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
}

.pagination-numbers:hover {
    background-color: #5a79d9;
    transform: translateY(-2px);
    color: white;
}

.pagination-numbers.current {
    background-color: #4a66c6;
    font-weight: 600;
    transform: scale(1.1);
}

/* 响应式分页调整 */
@media (max-width: 768px) {
    .pagination {
        gap: 6px;
    }
    
    .pagination-numbers {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* 友情链接页面响应式调整 */
@media (max-width: 1200px) {
    .link-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .link-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .link-category-title {
        font-size: 18px;
    }
    
    .link-card {
        padding: 10px;
    }
    
    .link-avatar {
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }
    
    .link-info {
        height: 36px;
    }
    
    .link-name {
        font-size: 13px;
    }
    
    .link-description {
        font-size: 11px;
    }
    
    .friends-updates {
        display: none; /* 在移动设备上隐藏朋友动态 */
    }
}

/* 关于页面响应式调整 */
@media (max-width: 768px) {
    .about-section {
        padding: 15px;
    }
    
    .about-text h2 {
        font-size: 20px;
    }
    
    .about-text h3 {
        font-size: 18px;
    }
    
    .about-text h4 {
        font-size: 16px;
    }
    
    .default-about h3 {
        font-size: 20px;
    }
    
    .default-about h4 {
        font-size: 16px;
    }
    
    .blog-milestones {
        padding: 15px;
        display: none; /* 在移动设备上隐藏博客大事记 */
    }
    
    .blog-milestones h3 {
        font-size: 16px;
    }
    
    .milestone-date,
    .milestone-content {
        font-size: 13px;
    }
}

/* 留言页面样式 */
/* 留言板头部样式 */
.liuyan-section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-top: 20px;
    max-width: 100%; /* 确保不超出父容器宽度 */
}

.liuyan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8f4f8;
}

.liuyan-header-content {
    flex: 1;
}

.liuyan-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.liuyan-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.liuyan-decoration {
    margin-left: 20px;
    opacity: 0.8;
}

/* 留言板介绍样式 */
.liuyan-intro {
    margin-bottom: 30px;
}

.intro-content {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
    border-radius: 10px;
    padding: 20px;
    color: white;
}

.intro-text {
    flex: 1;
    margin-right: 20px;
}

.intro-text h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.intro-text p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.intro-image {
    flex-shrink: 0;
}

/* 留言表单样式 */
.liuyan-form {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
}

/* 评论列表区域样式 */
.comment-list-section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-top: 20px;
}

/* 评论表单区域样式 */
.comment-form-section {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comment-form-section .comment-form {
    margin-bottom: 0;
}

.comment-form-section .comment-notes {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.comment-form-section .comment-form-author,
.comment-form-section .comment-form-email,
.comment-form-section .comment-form-url,
.comment-form-section .comment-form-comment {
    margin-bottom: 15px;
}

.comment-form-section label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.comment-form-section textarea {
    width: 60%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

/* 发表回复标题样式 */
#reply-title, .comment-reply-title {
    font-size: 18px !important;
    margin-bottom: 15px !important;
}

/* 评论表单行内元素容器 */
.comment-form-section .comment-form-fields {
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    margin-bottom: 15px;
}

/* 评论表单横排输入框样式 */
.comment-form-section .comment-form-author,
.comment-form-section .comment-form-email,
.comment-form-section .comment-form-url {
    flex: 1;
    margin-right: 10px;
    margin-bottom: 0;
}

.comment-form-section .comment-form-url {
    margin-right: 10px;
}

.comment-form-section input[type="text"],
.comment-form-section input[type="email"],
.comment-form-section input[type="url"] {
    width: 100%;
    padding: 10px 15px;
    border: none;
    background-color: #d0e9fd;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

/* 发表评论按钮样式 */
.comment-form-section .form-submit {
    margin-bottom: 0;
}

.comment-form-section input[type="submit"] {
    padding: 10px 20px;
    height: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

.comment-form-section input[type="text"]:focus,
.comment-form-section input[type="email"]:focus,
.comment-form-section input[type="url"]:focus {
    outline: none;
    background-color: #b8deff;
    box-shadow: 0 0 0 2px rgba(110, 142, 251, 0.2);
}

.comment-form-section textarea:focus {
    outline: none;
    background-color: #b8deff;
    box-shadow: 0 0 0 2px rgba(110, 142, 251, 0.2);
}

/* 响应式设计：在小屏幕上单列显示 */
@media (max-width: 768px) {
    .comment-form-section .comment-form-fields {
        flex-direction: column;
    }
    
    .comment-form-section .comment-form-author,
    .comment-form-section .comment-form-email,
    .comment-form-section .comment-form-url {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .comment-form-section input[type="submit"] {
        width: 100%;
    }
}

/* 评论内容输入框样式 - 无边框淡蓝色背景 */
.comment-form-section textarea {
    width: 58%;
    max-width: 60%;
    padding: 10px 15px;
    border: none;
    background-color: #d0e9fd;
    border-radius: 5px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
    min-height: 100px;
    transition: background-color 0.3s ease;
}

.comment-form-section input[type="submit"] {
    background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form-section input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
}

.liuyan-form .comment-form {
    margin-bottom: 20px;
}

.liuyan-form .comment-notes {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.liuyan-form .comment-form-author,
.liuyan-form .comment-form-email,
.liuyan-form .comment-form-url,
.liuyan-form .comment-form-comment {
    margin-bottom: 15px;
}

.liuyan-form label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.liuyan-form input[type="text"],
.liuyan-form input[type="email"],
.liuyan-form input[type="url"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

/* liuyan-form 评论内容输入框样式 - 无边框淡蓝色背景 */
.liuyan-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: none;
    background-color: #d0e9fd;
    border-radius: 5px;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    transition: background-color 0.3s ease;
}

.liuyan-form input[type="text"]:focus,
.liuyan-form input[type="email"]:focus,
.liuyan-form input[type="url"]:focus,
.liuyan-form textarea:focus {
    outline: none;
    background-color: #b8deff;
    box-shadow: 0 0 0 2px rgba(110, 142, 251, 0.2);
}

.liuyan-form textarea {
    resize: vertical;
    min-height: 120px;
}

.liuyan-form input[type="submit"] {
    background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.liuyan-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
}

/* 统一评论区域样式 */
#comments,
.comment-list-section {
    margin-top: 30px;
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comments-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.comments-title::before {
    content: '💬';
    margin-right: 10px;
}

/* 无评论时的提示信息 */
.no-comments-yet {
    text-align: center;
    padding: 30px 0;
    color: #666;
    font-size: 16px;
}

/* 评论列表样式 */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list li {
    margin-bottom: 20px;
    padding: 0;
    border: none;
    list-style: none;
}

.comment-list li:last-child {
    border-bottom: none;
}

/* 嵌套评论样式 - 二级回复缩进 */
.comment-list .children {
    margin-left: 55px; /* 缩进显示，比头像宽度大一些 */
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
}

/* 嵌套评论中的作者回复样式 */
.comment-list .children li.author-reply .comment-content-wrapper,
/* 作者回复特殊样式 */
.comment-list li.author-reply .comment-content-wrapper {
    background-color: #e6f7ff;
}

/* 作者徽章样式 */
.author-badge {
    display: inline-block;
    font-size: 10px;
    color: #fff;
    background-color: #ff1818;
    border-radius: 4px;
    padding: 1px 2px;
    margin-left: 1px;
    vertical-align: middle;
}

/* 评论容器 - 整体布局 */
.comment-author.vcard {
    display: flex;
    margin-bottom: 15px;
}

/* 评论者头像 - 统一大小和样式 */
.comment-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

/* 评论内容区域 - 统一背景和样式 */
.comment-content-wrapper {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.comment-content-wrapper:hover {
    background-color: #f0f3f5;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 评论者信息行 - 昵称、时间和回复按钮在同一行 */
.comment-header-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

/* 评论者昵称 */
.comment-author-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
    margin-right: 15px;
}

.comment-author-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-author-name a:hover {
    color: #6e8efb;
}

/* 评论时间区域 */
.comment-meta {
    font-size: 13px;
    color: #666;
    margin-right: 12px;
}

.comment-meta a {
    color: #666;
    text-decoration: none;
}

.comment-meta a:hover {
    color: #6e8efb;
    text-decoration: none;
}

/* 评论内容 */
.comment-content {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
    word-break: break-all;
    margin: 0;
    padding: 0;
}

/* 评论回复@用户名样式 */
.comment-reply-to {
    color: #6e8efb;
    font-weight: 500;
    display: inline;
    margin-right: 4px;
}

/* 确保评论文本不会因为HTML标签而换行 */
.comment-content p {
    display: inline;
    margin: 0;
    padding: 0;
}

/* 回复按钮容器 - 紧贴评论时间 */
.reply-inline {
    flex-shrink: 0;
}

/* 回复链接样式 - 统一按钮样式 */
.comment-reply-link {
    display: inline-block;
    background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
    color: white;
    border: none;
    padding: 1px 2px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
    color: white;
    text-decoration: none;
}

/* 统一评论表单样式 */
.comment-form-section,
#respond {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 评论表单标题 */
.comment-reply-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.comment-reply-title::before {
    content: '📝';
    margin-right: 10px;
}

/* 取消回复链接 */
.comment-reply-title a {
    color: #6e8efb;
    text-decoration: none;
    font-size: 12px;
    margin-left: 10px;
    font-weight: normal;
}

.comment-reply-title a:hover {
    text-decoration: underline;
}

/* 评论表单注释说明 */
.comment-notes {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/* 评论表单字段布局 */
.comment-form-fields {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

/* 评论表单标签 */
.comment-form label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

/* 评论表单输入框 */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background-color: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.comment-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    border: none;
    background-color: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-sizing: border-box;
}

/* 输入框聚焦状态 */
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    background-color: #fff;
    border-color: #6e8efb;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.1);
}

/* 评论提交按钮 */
.comment-form input[type="submit"] {
    background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
    color: white;
    border: none;
    padding: 12px 1px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
}

.comment-form input[type="submit"]:active {
    transform: translateY(0);
}

/* 评论导航 */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
}

.comment-navigation a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.comment-navigation a:hover {
    background-color: #6e8efb;
    color: white;
}

/* 等待审核提示 */
.comment-awaiting-moderation {
    display: inline-block;
    padding: 4px 8px;
    background-color: #fff3cd;
    color: #856404;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 10px;
}

.comment-reply-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
    color: white;
    text-decoration: none;
}

/* 读者墙样式 */
.readers-wall {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.readers-wall-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.title-decoration {
    margin-right: 10px;
}

.readers-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    height: auto;
}

.reader-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: linear-gradient(135deg, rgba(110, 142, 251, 0.15), rgba(167, 119, 227, 0.15));
    border-radius: 8px;
    transition: all 0.3s ease;
}

.reader-item:hover {
    background: linear-gradient(135deg, rgba(110, 142, 251, 0.25), rgba(167, 119, 227, 0.25));
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.reader-avatar {
    margin-right: 10px;
}

.reader-image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.reader-info {
    flex: 1;
}

.reader-name {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.reader-comments {
    font-size: 12px;
    color: #666;
}

/* 留言页面响应式调整 */
@media (max-width: 1200px) {
    .right-sidebar {
        display: none; /* 在中等屏幕上隐藏右侧边栏 */
    }
}

@media (max-width: 768px) {
    .liuyan-section {
        padding: 15px;
    }
    
    .liuyan-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .liuyan-decoration {
        margin-left: 0;
        margin-top: 15px;
        transform: scale(0.8);
    }
    
    .intro-content {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .intro-image {
        transform: scale(0.8);
    }
    
    .liuyan-form {
        padding: 15px;
    }
    
    .readers-wall {
        padding: 15px;
        display: none; /* 在移动设备上隐藏读者墙 */
    }
    
    .readers-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .reader-item {
        padding: 8px;
    }
    
    .reader-image {
        width: 35px;
        height: 35px;
    }
    
    .reader-name {
        font-size: 13px;
    }
    
    .reader-comments {
        font-size: 11px;
    }
}