body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
    color: #333;
    font-size: 14px;
    background: #f5f5f5;
    padding-top: 80px;
}
.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 10px;
}
.filter-section {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.filter-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.filter-row:last-child {
    margin-bottom: 0;
}
.filter-label {
    width: 60px;
    color: #666;
    flex-shrink: 0;
}
.filter-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-option {
    padding: 4px 12px;
    border-radius: 15px;
    background: #f5f5f5;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-option:hover {
    background: #e8f7f0;
    color: #07c160;
}
.filter-option.active {
    background: #07c160;
    color: #fff;
}
.post-list {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}
.post-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s;
}
.post-item:hover {
    transform: translateY(-2px);
    background: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.post-item:last-child {
    border-bottom: none;
}
.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #07c160;
    transition: transform 0.3s;
}
.post-item:hover .author-avatar {
    transform: scale(1.1);
}
.author-info {
    flex: 1;
}
.author-name {
    font-weight: bold;
    margin-bottom: 2px;
    transition: color 0.3s;
}
.post-item:hover .author-name {
    color: #07c160;
}
.post-time {
    color: #999;
    font-size: 12px;
}
.post-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    transition: color 0.3s;
}
.post-item:hover .post-title {
    color: #07c160;
}
.post-content {
    color: #666;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}
.post-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}
.post-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}
.post-item:hover .post-image {
    transform: scale(1.05);
}
.post-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
}
.meta-item {
    display: flex;
    align-items: center;
    transition: color 0.3s;
}
.meta-item:hover {
    color: #07c160;
}
.meta-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    transition: transform 0.3s;
}
.meta-item:hover .meta-icon {
    transform: scale(1.2);
}
.meta-item.category {
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}
.meta-item.category:hover {
    background: #e8f7f0;
}
.create-btn {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 50px;
    height: 50px;
    background: #07c160;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 100;
    transition: all 0.3s;
}
.create-btn:hover {
    transform: translateY(-2px) rotate(90deg);
    background: #06ae56;
    box-shadow: 0 4px 12px rgba(7,193,96,0.3);
}

/* 加载状态样式 */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #999;
    font-size: 14px;
}

/* 无帖子状态样式 */
.no-posts {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #999;
    font-size: 14px;
    flex-direction: column;
}

.no-posts::before {
    content: "📝";
    font-size: 48px;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .container {
        padding: 8px;
    }
    
    .post-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-image {
        height: 80px;
    }
    
    .create-btn {
        right: 15px;
        bottom: 70px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* 底部导航栏样式 */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #eee;
    background-color: #fff;
    position: sticky;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #999;
    font-size: 10px;
}

.bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.bottom-nav .nav-item.active {
    color: #007bff;
}

/* 调整发帖按钮位置，为底部导航栏留出空间 */
.create-btn {
    bottom: 70px;
}