* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.7;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}


h1 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    color: #64748b;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.article-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
    line-height: 1.8;
}

.article-content h2 {
    color: #1e293b;
    margin: 35px 0 15px;
    font-size: 1.6rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.article-content h3 {
    color: #374151;
    margin: 25px 0 12px;
    font-size: 1.3rem;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #475569;
}

.article-content blockquote {
    border-left: 4px solid #3b82f6;
    padding: 15px 20px;
    margin: 25px 0;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #0f172a;
}

.article-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.article-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.action-btn:hover {
    background: #f8fafc;
    color: #3b82f6;
    border-color: #3b82f6;
}

.action-btn.like.active {
    background: #fef2f2;
    color: #ef4444;
    border-color: #ef4444;
}

.author-bio {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
}

.author-info h3 {
    margin-bottom: 8px;
    color: #1e293b;
}

.author-info p {
    color: #64748b;
    font-size: 0.95rem;
}


.comments-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

.comments-section h2 {
    color: #1e293b;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.comment-form {
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    resize: vertical;
    min-height: 120px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 1rem;
}

.comment-form button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.comment-form button:hover {
    background: #2563eb;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.comment:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: #1e293b;
}

.comment-date {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-left: 15px;
}

.comment-content {
    color: #475569;
}

footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .article-actions {
        justify-content: center;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
}