/**
 * ユーザープロフィールページ専用CSS
 * user/index.php で使用
 */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding-bottom: 80px;
}
.profile-header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.profile-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
}
.profile-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: #ddd;
    flex-shrink: 0;
}
.profile-details {
    flex: 1;
    min-width: 0;
}
.profile-username {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    word-break: break-all;
}
.profile-joined {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}
.profile-stats {
    display: flex;
    gap: 20px;
    padding: 0 16px 16px;
}
.profile-stat {
    font-size: 14px;
    color: #555;
}
.profile-stat strong {
    color: #333;
}
.profile-actions {
    padding: 0 16px 16px;
}
.profile-follow-btn {
    padding: 8px 24px;
    border: 1px solid #3498db;
    background: white;
    color: #3498db;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}
.profile-follow-btn.following {
    background: #3498db;
    color: white;
}
.profile-follow-btn:hover {
    opacity: 0.8;
}
.profile-edit-btn {
    padding: 8px 24px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.profile-edit-btn:hover {
    background: #f5f5f5;
    text-decoration: none;
}
.profile-posts-header {
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    background: white;
    border-top: 8px solid #f5f5f5;
    border-bottom: 1px solid #eee;
}
