/* 全局样式重置和基础设置 */
/* 时光小筑字体系统 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #34495e; /* 主文字色 */
    line-height: 1.6;
    background-color: #f8f5f0;
}

/* 社交媒体分享按钮样式 */
.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    color: #6b5741;
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.wechat-share:hover {
    color: #07C160;
    background-color: rgba(7, 193, 96, 0.1);
}

.weibo-share:hover {
    color: #E6162D;
    background-color: rgba(230, 22, 45, 0.1);
}

/* 微信分享模态框样式 */
.wechat-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.wechat-share-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.wechat-share-content h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

.wechat-qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wechat-qrcode img {
    width: 100%;
    height: 100%;
}

.wechat-share-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.close-wechat-share {
    background-color: #d4a066;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-wechat-share:hover {
    background-color: #c08c51;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 160, 102, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 社交媒体图标样式调整 */
.footer-social {
    display: flex;
    gap: 10px;
}

/* 品牌Logo/名称 */
.site-brand {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

/* 主导航 */
.main-nav a {
    font-size: 18px;
    font-weight: 500;
    color: #34495e;
}

/* 页面主标题 */
.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

/* 文章/记录卡片标题 */
.article-title, .card-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
}

/* 文章正文 - 这是最重要的部分 */
.article-content {
    font-size: 18px; /* 关键：使用18px字号 */
    line-height: 1.8; /* 关键：使用1.8倍行高 */
    color: #34495e;
}

/* 辅助信息（用户名、时间等） */
.meta-info {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.5;
}

/* 页脚 */
.site-footer {
    font-size: 14px;
    color: #95a5a6;
    line-height: 1.5;
}

a {
    color: #6b5741;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d4a066;
}

/* 统计数字链接样式 */
.stat-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6b5741;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

.stat-link:hover {
    color: #d4a066;
    background-color: rgba(212, 160, 102, 0.1);
    transform: translateY(-2px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #6b5741;
    border-radius: 20px;
    background-color: transparent;
    color: #6b5741;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #6b5741;
    color: #fff;
}

.btn-primary {
    background-color: #d4a066;
    border-color: #d4a066;
    color: #fff;
}

.btn-primary:hover {
    background-color: #c08c51;
    border-color: #c08c51;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

.logo p {
    font-size: 16px;
    color: #a08c6b;
    margin: 2px 0 0 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-size: 18px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a.active,
.main-nav a:hover {
    color: #d4a066;
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d4a066;
    border-radius: 1px;
}

.main-nav .highlight {
    background-color: #d4a066;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(212, 160, 102, 0.3);
    transition: all 0.3s ease;
}

.main-nav .highlight:hover {
    background-color: #c08c51;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 160, 102, 0.4);
}

.main-nav .highlight::after {
    display: none;
}

.user-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.1);
}

.user-avatar {
    position: relative;
}

.avatar-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 150px;
}

.user-avatar:hover .avatar-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.avatar-dropdown a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.avatar-dropdown a:hover {
    background-color: #f5f0e6;
}

.avatar-dropdown .logout {
    border-top: 1px solid #eee;
    color: #e74c3c;
}

/* 面包屑导航样式 */
.breadcrumb {
    margin-bottom: 20px;
    padding: 10px 0;
    font-size: 14px;
    color: #6b5741;
}

.breadcrumb a {
    color: #6b5741;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #d4a066;
}

.breadcrumb span {
    margin: 0 5px;
    color: #a08c6b;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-feature {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.article-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.article-feature.alternate {
    flex-direction: row-reverse;
}

.article-image {
    overflow: hidden;
    position: relative;
    width: 50%;
    height: 350px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-feature:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 40px;
    width: 50%;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.author-avatar-link {
    display: inline-block;
    border-radius: 50%;
    padding: 2px;
    transition: all 0.3s ease;
}

.author-avatar-link:hover {
    background-color: rgba(212, 160, 102, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.author-name {
    font-size: 14px;
    color: #6b5741;
}

.publish-date {
    font-size: 12px;
    color: #a08c6b;
}

.article-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag {
    font-size: 12px;
    color: #a08c6b;
    background-color: #f5f0e6;
    padding: 4px 10px;
    border-radius: 12px;
}

.article-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.like-btn,
.comment-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #6b5741;
    cursor: pointer;
    transition: color 0.3s ease;
}

.like-btn:hover,
.comment-btn:hover {
    color: #d4a066;
}

.read-more {
    margin-left: auto;
    background-color: #6b5741;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: #d4a066;
    color: #fff;
}

.load-more {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.load-more.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 页脚样式 */
footer {
    background-color: #f5f0e6;
    padding: 40px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-logo h2 {
    font-size: 20px;
    color: #6b5741;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 14px;
    color: #a08c6b;
}

.footer-links a:hover {
    color: #d4a066;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #6b5741;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #d4a066;
    transform: translateY(-2px);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e6ddd1;
}

.footer-copyright p {
    font-size: 12px;
    color: #a08c6b;
    margin: 0;
}

/* 登录页面样式 */
.login-page {
    padding: 100px 0;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 24px;
    color: #6b5741;
    margin-bottom: 10px;
}

.login-header p {
    color: #a08c6b;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #6b5741;
    font-size: 14px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e6ddd1;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #d4a066;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: auto;
}

.remember-me label {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.forgot-password {
    font-size: 13px;
    color: #d4a066;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #d4a066;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #c08c51;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.register-link a {
    color: #d4a066;
}

/* 注册页面样式 */
.register-page {
    padding: 80px 0;
}

.register-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h2 {
    font-size: 24px;
    color: #6b5741;
    margin-bottom: 10px;
}

.register-header p {
    color: #a08c6b;
    font-size: 14px;
}

.register-btn {
    width: 100%;
    padding: 12px;
    background-color: #d4a066;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.register-btn:hover {
    background-color: #c08c51;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.login-link a {
    color: #d4a066;
}

/* 发现页面样式 */
.discover-page {
    padding: 30px 0;
}

.discover-header {
    text-align: center;
    margin-bottom: 40px;
}

.discover-header h2 {
    font-size: 32px;
    color: #6b5741;
    margin-bottom: 15px;
}

.discover-header p {
    color: #a08c6b;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.discover-controls {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sort-tabs {
    display: flex;
    gap: 10px;
    margin: 10px 12px;
    justify-content: flex-start;
}

.sort-tab {
    padding: 10px 25px;
    border: 1px solid #e6ddd1;
    background-color: #fff;
    color: #6b5741;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.sort-tab:hover {
    border-color: #d4a066;
    color: #d4a066;
}

.sort-tab.active {
    background-color: #d4a066 !important;
    color: #fff !important;
    border-color: #d4a066 !important;
}

.discover-layout {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.sort-section {
    width: 10%;
    display: flex;
    align-items: flex-start;
}

.sort-section .sort-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.sort-section .sort-tab {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e6ddd1;
    background-color: #fff;
    color: #6b5741;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-align: center;
}

.categories-section {
    width: 90%;
}

.categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    position: relative;
    max-height: 80px; /* 限制为两行高度 */
    overflow: visible; /* 允许内容完整显示 */
}

.more-categories {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #e6ddd1;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 10px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.hidden {
    display: none !important;
}

.category-btn {
    padding: 8px 20px;
    border: 1px solid #e6ddd1;
    background-color: #fff;
    color: #6b5741;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-btn:hover,
.category-btn.active {
    background-color: #d4a066;
    color: #fff;
    border-color: #d4a066;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* 暂无作品提示 */
.no-articles {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.article-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.article-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 20px;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.article-card-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.article-card-author-name {
    font-size: 14px;
    color: #6b5741;
}

.article-card-publish-date {
    font-size: 11px;
    color: #a08c6b;
}

.article-card-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-card-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.article-card-tag {
    font-size: 11px;
    color: #a08c6b;
    background-color: #f5f0e6;
    padding: 2px 8px;
    border-radius: 10px;
}

.article-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-card-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-card-like,
.article-card-comment {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #a08c6b;
}

.article-card-read-more {
    color: #d4a066;
    font-size: 12px;
    font-weight: 500;
}

/* 记录页面样式 */
.record-page {
    padding: 80px 0;
}

.record-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.record-header {
    margin-bottom: 30px;
}

.record-header h2 {
    font-size: 24px;
    color: #6b5741;
    margin-bottom: 10px;
}

.record-header p {
    color: #a08c6b;
    font-size: 14px;
}

.editor-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f5f0;
    border-radius: 8px;
}

.editor-btn {
    background: none;
    border: none;
    color: #6b5741;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.editor-btn:hover {
    background-color: #e6ddd1;
}

.article-title-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e6ddd1;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.article-title-input:focus {
    outline: none;
    border-color: #d4a066;
}

.article-content-input {
    width: 100%;
    min-height: 300px;
    padding: 15px;
    border: 1px solid #e6ddd1;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.article-content-input:focus {
    outline: none;
    border-color: #d4a066;
}

.article-tags-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e6ddd1;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.article-tags-input:focus {
    outline: none;
    border-color: #d4a066;
}

.publish-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.publish-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.publish-status select {
    padding: 8px 12px;
    border: 1px solid #e6ddd1;
    border-radius: 6px;
    background-color: #fff;
    color: #6b5741;
    font-size: 14px;
}

.publish-btn {
    background-color: #d4a066;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.publish-btn:hover {
    background-color: #c08c51;
}

/* 我的小筑页面样式 */
.my-space-page {
    padding: 80px 0;
}

.my-space-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.sidebar {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.user-profile {
    text-align: center;
    margin-bottom: 30px;
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.user-name {
    font-size: 18px;
    color: #6b5741;
    margin-bottom: 5px;
}

.user-bio {
    font-size: 14px;
    color: #a08c6b;
    margin-bottom: 15px;
}

.user-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 15px;
    border-top: 1px solid #e6ddd1;
}

.user-stat {
    text-align: center;
}

.user-stat-number {
    font-size: 16px;
    font-weight: bold;
    color: #6b5741;
    margin-bottom: 2px;
}

.user-stat-label {
    font-size: 12px;
    color: #a08c6b;
}

.nav-menu {
    border-top: 1px solid #e6ddd1;
}

.nav-menu-item {
    display: block;
    padding: 12px 15px;
    color: #6b5741;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-menu-item:hover {
    background-color: #f5f0e6;
    border-left-color: #d4a066;
}

.nav-menu-item.active {
    background-color: #f5f0e6;
    border-left-color: #d4a066;
    color: #d4a066;
    font-weight: 500;
}

.content-area {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

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

.content-header h2 {
    font-size: 24px;
    color: #6b5741;
}

.my-article {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    background-color: #f8f5f0;
    transition: all 0.3s ease;
}

.my-article:hover {
    background-color: #f5f0e6;
}

.my-article-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.my-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-article-content {
    flex: 1;
}

.my-article-title {
    font-size: 18px;
    color: #6b5741;
    margin-bottom: 10px;
}

.my-article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.my-article-date {
    font-size: 12px;
    color: #a08c6b;
}

.my-article-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.my-article-view,
.my-article-comment,
.my-article-like {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #a08c6b;
}

.my-article-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.edit-btn,
.delete-btn {
    padding: 6px 12px;
    border: 1px solid #e6ddd1;
    background-color: #fff;
    color: #6b5741;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-btn:hover {
    background-color: #d4a066;
    color: #fff;
    border-color: #d4a066;
}

.delete-btn:hover {
    background-color: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .article-feature,
    .article-feature.alternate {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
        height: 200px;
    }

    .article-content {
        width: 100%;
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .my-space-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .content-area {
        padding: 20px;
    }
}

/* 通知样式 */
.notification {
    background-color: #f5f0e6;
    border: 1px solid #d4a066;
    color: #6b5741;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 修复版标记 */
.fix-badge {
    background-color: #d4a066;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    margin-left: 5px;
    vertical-align: super;
}

/* 笔记页面样式 */
.notes-page {
    padding: 80px 0;
}

.notes-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面标题 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 32px;
    color: #6b5741;
    margin-bottom: 10px;
}

.page-header p {
    color: #a08c6b;
    font-size: 16px;
}

/* 笔记筛选 */
.notes-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #e6ddd1;
    background-color: #fff;
    color: #6b5741;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #d4a066;
    color: #fff;
    border-color: #d4a066;
}

/* 笔记网格 */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* 笔记卡片 */
.note-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.note-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* 笔记卡片头部 */
.note-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* 笔记状态 */
.note-card-status {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.note-card-status.public {
    background-color: #e8f5e9;
    color: #4caf50;
}

.note-card-status.private {
    background-color: #e3f2fd;
    color: #2196f3;
}

.note-card-status.draft {
    background-color: #fff3e0;
    color: #ff9800;
}

/* 笔记日期 */
.note-card-date {
    font-size: 12px;
    color: #a08c6b;
}

/* 笔记标题 */
.note-card-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* 笔记摘要 */
.note-card-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 笔记操作 */
.note-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    border-top: 1px solid #e6ddd1;
    padding-top: 15px;
}

.note-card-action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border: 1px solid #e6ddd1;
    background-color: #fff;
    color: #6b5741;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.note-card-action-btn.edit:hover {
    background-color: #d4a066;
    color: #fff;
    border-color: #d4a066;
}

.note-card-action-btn.delete:hover {
    background-color: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.page-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e6ddd1;
    background-color: #fff;
    color: #6b5741;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    background-color: #f5f0e6;
}

.page-btn.active {
    background-color: #d4a066;
    color: #fff;
    border-color: #d4a066;
}

.page-dots {
    color: #a08c6b;
    padding: 0 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .notes-page {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .notes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .notes-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* 点赞按钮样式 */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #e6ddd1;
    background-color: #fff;
    color: #6b5741;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.action-btn:hover {
    border-color: #d4a066;
    color: #d4a066;
    transform: translateY(-1px);
}

.action-btn.liked {
    background-color: #d4a066;
    color: #fff;
    border-color: #d4a066;
}

.action-btn.liked i {
    color: #fff;
}

.action-count {
    font-weight: 500;
    margin-left: 4px;
}

/* 粉丝列表页面样式 */
.follower-list-page {
    padding: 40px 0;
}

.follower-list-page .container {
    max-width: 800px;
    margin: 0 auto;
}

.follower-list-page .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.follower-list-page .page-header h1 {
    font-size: 28px;
    color: #6b5741;
    margin-bottom: 10px;
}

.follower-list-page .page-header p {
    color: #a08c6b;
    font-size: 16px;
}

.follower-list-page .count {
    color: #d4a066;
    font-weight: bold;
    font-size: 20px;
}

/* 用户列表样式 */
.user-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.user-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* 用户信息样式 */
.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f5f0e6;
    transition: all 0.3s ease;
}

.user-item:hover .user-avatar {
    border-color: #d4a066;
    transform: scale(1.05);
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 18px;
    color: #6b5741;
    margin-bottom: 5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-bio {
    font-size: 14px;
    color: #a08c6b;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.user-stats {
    display: flex;
    gap: 20px;
}

.user-stats span {
    font-size: 12px;
    color: #a08c6b;
}

/* 用户操作按钮 */
.user-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.follow-btn {
    padding: 8px 20px;
    border: 1px solid #d4a066;
    background-color: #d4a066;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.follow-btn:hover {
    background-color: #c08c51;
    border-color: #c08c51;
    transform: translateY(-1px);
}

.follow-btn.btn-secondary {
    background-color: #f5f0e6;
    color: #6b5741;
    border-color: #e6ddd1;
}

.follow-btn.btn-secondary:hover {
    background-color: #e6ddd1;
    border-color: #d4a066;
    color: #d4a066;
}

/* 无数据提示 */
.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #a08c6b;
    font-size: 16px;
    background-color: #f8f5f0;
    border-radius: 12px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .follower-list-page {
        padding: 60px 0;
    }
    
    .user-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }
    
    .user-info {
        width: 100%;
    }
    
    .user-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .user-list {
        gap: 15px;
    }
}