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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f5f5;
    color: #14171a;
    line-height: 1.5;
}

.feed {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 15px;
}

.profile {
    display: flex;
    gap: 16px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-bio {
    color: #14171a;
    font-size: 0.95em;
    margin-bottom: 8px;
}

.profile-meta {
    font-size: 0.85em;
    color: #657786;
}

.profile-meta a {
    color: #1da1f2;
    text-decoration: none;
}

.profile-meta a:hover {
    text-decoration: underline;
}

.post {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

.post-title {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 8px;
    color: #14171a;
}

.post-content {
    font-size: 0.95em;
    color: #14171a;
}

.post-content p {
    margin-bottom: 12px;
}

.post-content p:last-child {
    margin-bottom: 0;
}

.post-content h2 {
    font-size: 1em;
    font-weight: 600;
    margin: 16px 0 8px 0;
}

.post-content a {
    color: #1da1f2;
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

.post-content code {
    background: #f5f8fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.post-content pre {
    background: #f5f8fa;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 12px 0;
}

.post-content pre code {
    padding: 0;
    background: none;
}

.post-date {
    display: block;
    margin-top: 12px;
    font-size: 0.85em;
    color: #657786;
}

.post-title a {
    color: inherit;
    text-decoration: none;
}

.post-title a:hover {
    color: #1da1f2;
}

.read-more {
    display: inline-block;
    margin-top: 8px;
    color: #1da1f2;
    text-decoration: none;
    font-size: 0.9em;
}

.read-more:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-bottom: 16px;
    color: #657786;
    text-decoration: none;
    font-size: 0.9em;
}

.back-link:hover {
    color: #1da1f2;
}

.post-full .post-title {
    font-size: 1.3em;
}

@media (max-width: 640px) {
    .feed {
        padding: 10px;
    }

    .post {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-bottom: 0;
        border-bottom: none;
    }

    .post:first-child {
        border-top: none;
    }
}

