/* 相册样式 */
.gallery {
    margin-bottom: 30px;
    position: relative;
}

/* 标题容器 */
.gallery h2 {
    font-size: 18px;
    margin-bottom: 8px;
    position: relative;
    text-align: center;
    padding-bottom: 8px;
    display: block;
}

/* 下划线装饰 */
.gallery h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* 统计信息栏 */
.moment-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--light-text);
}

.total-count, .image-count, .video-count {
    display: flex;
    align-items: center;
}

.total-count:before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    margin-right: 5px;
    font-weight: 900;
}

.image-count:before {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free';
    margin-right: 5px;
    font-weight: 900;
}

.video-count:before {
    content: '\f03d';
    font-family: 'Font Awesome 6 Free';
    margin-right: 5px;
    font-weight: 900;
}

.moments-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 动态卡片样式优化 */
.moment-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    width: 100%;
    max-width: 550px;
    box-sizing: border-box;
    margin-bottom: 0;
    height: auto;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.moment-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.card-content {
    width: 100%;
    box-sizing: border-box;
}

/* 头部样式优化 */
.moment-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.moment-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;  /* 确保不会收缩 */
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    background-color: #f5f5f5;  /* 默认背景色 */
    border: 2px solid #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.moment-avatar:hover {
    transform: scale(1.05);
}

.moment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: #f5f5f5;
}

.moment-avatar img:hover {
    transform: scale(1.1);
}

.moment-info {
    flex: 1;
    line-height: 1.3;
}

.moment-author {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 3px;
    color: #333;
}

.moment-time {
    font-size: 12px;
    color: #999;
    margin-top: 0;
}

/* 内容区域优化 */
.moment-content {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    text-align: left;
    margin-left: 0;
    padding-left: 0;
    color: #444;
}

/* 媒体容器优化 */
.media-container {
    clear: both;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    max-height: 320px;
    margin: 12px 0;
    border-radius: 8px;
}

/* 大型网格使用更高的容器 */
.media-container.large-grid {
    max-height: 520px;
}

/* 所有媒体统一大小设置 */
.moment-images.single-image,
.moment-video,
.video-with-cover {
    max-width: 240px;
    max-height: 320px;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 6px;
}

/* 图片网格基本样式 */
.moment-images {
    display: grid;
    gap: 4px;
    width: 100%;
    max-height: 320px;
}

/* 单张图片时显示效果 */
.moment-images.single-image {
    position: relative;
    border-radius: 8px;
    display: block;
    max-width: 240px;
    max-height: 320px;
    grid-template-columns: none;
    grid-template-rows: none;
}

.single-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 133.33%; /* 3:4比例 */
    overflow: hidden;
    border-radius: 8px;
}

.moment-images.single-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    aspect-ratio: 3/4;
}

/* 多图显示网格布局 */
.moment-images.grid-2, .moment-images.grid-3,
.moment-images.grid-4, .moment-images.grid-5, 
.moment-images.grid-6, .moment-images.grid-7, 
.moment-images.grid-8, .moment-images.grid-9 {
    display: grid;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 2-3张图片时显示为2列 */
.moment-images.grid-2, .moment-images.grid-3 {
    grid-template-columns: repeat(2, 1fr);
}

/* 4张及以上图片显示为3列 */
.moment-images.grid-4, .moment-images.grid-5, 
.moment-images.grid-6, .moment-images.grid-7, 
.moment-images.grid-8, .moment-images.grid-9 {
    grid-template-columns: repeat(3, 1fr);
}

/* 图片容器统一高度设置 */
.moment-images.grid-2,
.moment-images.grid-3 {
    max-height: 320px;
}

.moment-images.grid-4,
.moment-images.grid-5,
.moment-images.grid-6 {
    max-height: 480px;
}

/* 7-9张图片时使用更大容器 */
.moment-images.grid-7,
.moment-images.grid-8,
.moment-images.grid-9 {
    max-height: 520px;
}

/* 所有多图布局的占位符使用1:1比例 */
.moment-images:not(.single-image) .image-placeholder {
    position: relative;
    padding-top: 100%; /* 1:1比例 */
    overflow: hidden;
}

/* 所有图片样式 */
.moment-images:not(.single-image) .image-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moment-images img {
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

/* 设置所有多图使用1:1比例 */
.moment-images:not(.single-image) img {
    aspect-ratio: 1/1 !important;
}

.moment-images img:hover {
    transform: scale(1.02);
}

/* 图片预览 */
.gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.gallery-overlay.active {
    display: flex;
}

.gallery-preview {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-preview img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

.gallery-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.gallery-nav-btn {
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

.gallery-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 适配移动端 */
@media (max-width: 768px) {
    .moment-card {
        max-width: 100%;
        padding: 8px 10px;
    }
    
    /* 调整移动端网格间距 */
    .moment-images {
        gap: 3px;
    }
    
    /* 所有网格使用3列布局 */
    .moment-images.grid-2, .moment-images.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 单张图片和视频尺寸 */
    .moment-images.single-image,
    .moment-video, 
    .video-with-cover {
        max-width: 180px;
        max-height: 240px;
    }
    
    /* 单张图片和视频固定尺寸 */
    .moment-video, 
    .video-with-cover {
        width: 180px;
        height: 240px;
    }
    
    /* 统一媒体容器高度 */
    .media-container {
        max-height: 240px;
    }
    
    /* 大型网格在移动端也需要扩大 */
    .media-container.large-grid {
        max-height: 400px;
    }
    
    /* 图片容器高度调整 */
    .moment-images.grid-2,
    .moment-images.grid-3 {
        max-height: 320px;
    }
    
    .moment-images.grid-4,
    .moment-images.grid-5,
    .moment-images.grid-6 {
        max-height: 400px;
    }
    
    /* 7-9张图片时移动端增加高度 */
    .moment-images.grid-7,
    .moment-images.grid-8,
    .moment-images.grid-9 {
        max-height: 460px;
    }
    
    /* 在移动端也调整容器大小 */
    .media-container.grid-7-8-container {
        max-height: 480px;
    }
    
    .media-container.grid-9-container {
        max-height: 520px;
    }
    
    /* 调整播放按钮大小 */
    .play-button {
        width: 40px;
        height: 40px;
    }
    
    /* 移动端统计样式 */
    .moment-stats {
        gap: 10px;
        font-size: 12px;
        flex-wrap: wrap;
    }
}

/* 视频样式 - 尺寸已在统一设置中定义，这里只保留内部元素样式 */
.moment-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
    border-radius: 8px;
}

/* 视频封面 - 尺寸已在统一设置中定义，这里只保留内部元素样式 */
.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.video-cover:hover {
    transform: scale(1.02);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 5px;
}

.video-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 8px;
}

.video-container.active {
    display: block;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 统一使用cover */
    border-radius: 8px;
}

/* 懒加载占位样式 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-image.loaded {
    opacity: 1;
}

.image-placeholder {
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.image-placeholder::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}

/* 视频容器样式 */
.moment-video, .video-with-cover {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    width: 240px;
    height: 320px;
    aspect-ratio: 3/4;
}

/* 单张图片容器样式 */
.moment-images.single-image {
    position: relative;
    border-radius: 8px;
}

/* 视频放大播放覆盖层 */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-overlay.active {
    display: flex;
    opacity: 1;
}

.video-preview {
    position: relative;
    width: 80%;
    max-width: 960px;
    max-height: 80vh;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.video-preview video {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.video-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2001;
}

.video-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.video-close::before,
.video-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: white;
}

.video-close::before {
    transform: rotate(45deg);
}

.video-close::after {
    transform: rotate(-45deg);
}

/* 加载动画样式 */
.gallery-loading, .video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    z-index: 10;
}

.video-loading {
    width: 50px;
    height: 50px;
    border-width: 4px;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 骨架屏样式 */
.skeleton-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.skeleton-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin-right: 8px;
}

.skeleton-info {
    flex: 1;
}

.skeleton-line {
    height: 12px;
    background-color: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-line.short {
    width: 40%;
}

.skeleton-line.medium {
    width: 60%;
}

.skeleton-line.long {
    width: 90%;
}

.skeleton-line.thin {
    height: 8px;
    width: 70%;
}

.skeleton-content {
    margin: 10px 0;
}

.skeleton-media {
    height: 150px;
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-top: 10px;
}

/* 全局加载指示器 */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color, #0066ff);
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.loading-text {
    font-size: 14px;
    color: var(--light-text, #888);
}

/* 头像占位符 */
.avatar-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f5f5f5;
}

.avatar-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.avatar-placeholder.loaded {
    background-color: transparent;
}

/* 针对7-8张和9张图片的特殊容器 */
.media-container.grid-7-8-container {
    max-height: 540px; /* 比普通large-grid更高 */
    height: auto;
}

.media-container.grid-9-container {
    max-height: 580px; /* 最大高度让9宫格完全显示 */
    height: auto;
}

/* 全网格布局增强 */
.moment-images.full-grid {
    height: 100%;
    max-height: none;
    display: grid;
}

/* 九宫格特殊设置 */
.moment-images.grid-9 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    aspect-ratio: 1/1;
}

.moment-images.grid-9.full-grid {
    max-height: none;
}

/* 内容包装器样式调整 */
.content-wrapper {
    position: relative;
    margin-bottom: 12px;
    width: 100%;
    padding: 0;
}

/* 翻译按钮样式优化 */
.translate-btn {
    background-color: rgba(0, 0, 0, 0.04) !important;
    color: #888 !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.2s cubic-bezier(0.3, 0, 0.2, 1) !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    opacity: 0.7 !important;
    z-index: 5 !important;
}

.translate-btn i {
    font-size: 11px !important;
    opacity: 0.8 !important;
}

.translate-btn:hover {
    background-color: rgba(0, 0, 0, 0.08) !important;
    color: #666 !important;
    opacity: 1 !important;
    transform: translateY(-1px) !important;
}

.translate-btn:active, .translate-btn:focus {
    outline: none !important;
}

.content-wrapper:hover .translate-btn {
    opacity: 0.9 !important;
}

.language-dropdown {
    position: fixed;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 10px 0;
    z-index: 10000;
    min-width: 220px;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.06);
    animation: fadeIn 0.2s cubic-bezier(0.3, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.language-dropdown::-webkit-scrollbar {
    width: 6px;
}

.language-dropdown::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
}

.language-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

.language-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.18);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 箭头指示器样式 */
.language-dropdown::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: white;
    transform: rotate(45deg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: -1;
}

/* 下拉框位于按钮底部时的箭头 */
.language-dropdown.dropdown-bottom::before {
    top: -7px;
    background: #ffffff;
    border-bottom: none;
    border-right: none;
}

/* 下拉框位于按钮顶部时的箭头 */
.language-dropdown.dropdown-top::before {
    bottom: -7px;
    background: #fafafa;
    border-top: none;
    border-left: none;
}

/* 箭头在右侧 */
.language-dropdown.dropdown-right::before {
    right: 20px;
}

/* 箭头在左侧 */
.language-dropdown.dropdown-left::before {
    left: 20px;
}

/* 顶部动画 */
.language-dropdown.dropdown-top {
    animation: fadeInTop 0.2s cubic-bezier(0.3, 0, 0.2, 1);
}

@keyframes fadeInTop {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.language-option {
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin: 2px 8px;
    border-radius: 10px;
}

.language-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #000;
}

.language-option.active {
    background-color: rgba(0, 0, 0, 0.06);
    color: #000;
    font-weight: 500;
}

.language-option.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    margin-left: auto;
    font-weight: 900;
    font-size: 12px;
    color: #111;
}

/* 图片预览底部信息栏 */
.gallery-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #f0f0f0;
    padding: 15px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.3s;
}

/* 悬停在预览区域时显示信息栏 */
.gallery-overlay:hover .gallery-info-bar {
    opacity: 1;
}

.gallery-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.gallery-author {
    font-weight: bold;
}

.gallery-time {
    font-size: 11px;
    color: #ccc;
}

.gallery-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gallery-counter {
    font-variant-numeric: tabular-nums; /* 等宽数字 */
}

.gallery-save {
    color: #f0f0f0;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s;
}

.gallery-save:hover {
    color: #ffffff;
}

/* 指示器样式 */
.gallery-indicators {
    position: absolute;
    bottom: 80px; /* 调整到底部信息栏上方 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 1001; /* 确保在图片之上，但在导航按钮之下 */
}

.gallery-indicator-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.gallery-indicator-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.gallery-indicator-dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

/* 社交互动栏样式优化 */
.social-interaction-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 0 0;
    margin-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.social-button {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.3, 0, 0.2, 1);
    user-select: none;
}

.social-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.social-button:active {
    transform: scale(0.96);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    width: 22px;
    height: 22px;
}

.social-icon img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-button:hover .social-icon img {
    transform: scale(1.1);
    opacity: 0.85;
}

.social-count {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* 点赞按钮激活状态 */
.like-button.active {
    background-color: rgba(255, 73, 73, 0.1);
}

.like-button.active .social-icon img {
    filter: hue-rotate(-10deg) saturate(1.5);
    opacity: 1;
    transform: scale(1.1);
}

.like-button.active .social-count {
    color: #ff4949;
}

/* 评论按钮悬停效果 */
.comment-button:hover {
    background-color: rgba(0, 132, 255, 0.08);
}

.comment-button:hover .social-icon img {
    filter: hue-rotate(190deg) saturate(1.2);
}

/* 分享按钮悬停效果 */
.share-button:hover {
    background-color: rgba(76, 217, 100, 0.08);
}

.share-button:hover .social-icon img {
    filter: hue-rotate(90deg) saturate(1.2);
}

/* 响应式调整 */
@media (max-width: 480px) {
    .moment-card {
        padding: 12px;
        border-radius: 10px;
    }
    
    .social-interaction-bar {
        padding: 10px 0 0;
        margin-top: 10px;
    }
    
    .social-button {
        padding: 5px 10px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
    
    .social-icon img {
        width: 18px;
        height: 18px;
    }
    
    .social-count {
        font-size: 12px;
    }
} 