/* 微博风格样式重置 */
a { text-decoration: none; color: #000; }
a:hover { text-decoration: none; }

/* 微博主体容器 */
.weibo-feed {
    padding: 0;
    margin: 0;
}

/* 微博卡片 */
.weibo-card {
    padding: 16px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    position: relative;
}

.weibo-card:last-child {
    margin-bottom: 0;
}

/* Flex布局工具类 */
.woo-box-flex {
    display: flex;
}

/* 个人信息区域flex布局 - 确保左侧和右侧正确对齐 */
.weibo-avatar.woo-box-flex {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.woo-types, .woo-categories {
    font-size: 14px;
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* 左侧用户信息区域 */
.weibo-avatar .comment-avatar,
.weibo-avatar .user-info {
    flex-shrink: 0;
}

/* 左侧用户信息容器 */
.weibo-avatar .user-info-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.weibo-avatar .user-name {
    font-size: 14px;
}

/* 右侧分类标签容器 */
.weibo-avatar .categories-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

/* 右侧分类标签区域 */
.weibo-avatar .woo-types,
.weibo-avatar .woo-categories {
    margin-left: 0;
}

.woo-types a {
    color: rgb(50, 82, 224);
    white-space: nowrap;
}

.woo-categories a {
    color: rgb(140, 50, 224);
    white-space: nowrap;
}

.woo-box-item-flex {
    flex: 1;
}

.woo-box-alignCenter {
    align-items: center;
}

.woo-box-column {
    flex-direction: column;
}

.woo-box-justifyCenter {
    justify-content: center;
}

/* 微博头部 */
.weibo-header {
    margin-bottom: 12px;
}

/* 头像样式 */
.weibo-avatar {
    margin-right: 12px;
}

.head_avatar_20c9y {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    overflow: hidden;
}

.woo-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 用户信息区域 */
.weibo-user-info {
    min-width: 0;
}

.head_main_3DRDm {
    flex: 1;
}

.head_content_wrap_27749 {
    display: flex;
    flex-direction: column;
}

.weibo-title h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.weibo-summary {
    font-size: 14px;
    color: #595959;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* 操作按钮区域 */
.weibo-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.exist-btn, .favorite-btn {
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.exist-btn:hover, .favorite-btn:hover {
    background-color: #f5f5f5;
}

.favorite-btn.active {
    color: #d4237a;
}

/* 图片网格布局 */
.weibo-images {
    margin: 12px 0;
}

/* 图片容器 - 3列网格 */
.u-col-3 {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.25rem;
    margin-top: -0.25rem;
}

/* 图片项 */
.picture_item_3zpCn {
    flex-grow: 0;
    padding-left: 0.25rem;
    padding-top: 0.25rem;
    width: 33.333%;
    box-sizing: border-box;
}

/* 图片样式 */
.woo-picture-square {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.picture_focusImg_1z5In {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.picture_focusImg_1z5In:hover {
    transform: scale(1.05);
}

.image_description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 8px;
    font-size: 12px;
    line-height: 1.3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woo-picture-square:hover .image_description {
    opacity: 1;
}

/* 微博底部 */
.weibo-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.weibo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 按钮样式 */
.woo-button-main {
    border: 1px solid #e0e0e0;
    border-radius: 9999px;
    padding: 4px 12px;
    font-size: 12px;
    color: #595959;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.woo-button-main:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
    color: #1a1a1a;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .weibo-card {
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .head_avatar_20c9y {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .weibo-title h4 {
        font-size: 15px;
    }
    
    .weibo-summary {
        font-size: 13px;
    }
    
    .picture_item_3zpCn {
        width: 50%;
    }
    
    /* 移动端个人信息区域布局调整 */
    .weibo-avatar.woo-box-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .weibo-avatar .woo-types,
    .weibo-avatar .woo-categories {
        justify-content: flex-start;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .picture_item_3zpCn {
        width: 100%;
    }
    
    .weibo-actions {
        gap: 4px;
    }
    
    .woo-button-main {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    /* 小屏幕个人信息区域进一步调整 */
    .weibo-avatar .woo-types,
    .weibo-avatar .woo-categories {
        font-size: 12px;
    }
    
    .weibo-avatar .comment-avatar img {
        width: 32px;
        height: 32px;
    }
    
    .weibo-avatar .user-name {
        font-size: 13px;
    }
    
    .weibo-avatar .post-time {
        font-size: 11px;
    }
}
