/**
 * 图片类型详情页样式
 *
 * @package GoodBase
 * @since 1.0.0
 */

.single-image-page .image-post {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.single-image-page .entry-header {
    margin-bottom: 1px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #f0f0f0;
}

/* 标题和收藏按钮容器 */
.single-image-page .entry-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.single-image-page .entry-title {
    flex: 1;
    margin: 0;
}

/* 标题右侧收藏按钮 */
.single-image-page .favorite-btn-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #64748b;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.single-image-page .favorite-btn-title:hover {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

/* 未收藏状态 - 空心星 */
.single-image-page .favorite-btn-title i {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.single-image-page .favorite-btn-title:hover i {
    color: #64748b;
}

/* 已收藏状态 - 实心星 */
.single-image-page .favorite-btn-title.favorited {
    background: transparent;
    border-color: #f59e0b;
}

.single-image-page .favorite-btn-title.favorited i {
    color: #f59e0b;
    font-weight: 900;
}

.single-image-page .favorite-btn-title.favorited:hover {
    background: #fef3c7;
    border-color: #d97706;
}

.single-image-page .favorite-btn-title.favorited:hover i {
    color: #d97706;
}

.single-image-page .entry-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-right: 1.25rem;
}

.single-image-page .badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6600;
    font-size: 0.875rem;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.single-image-page .badge-item:hover {
    color: #ff6600;
    opacity: 0.8;
    text-decoration: none !important;
}

.single-image-page .badge-item:active {
    text-decoration: none !important;
}

.single-image-page .badge-item:visited {
    text-decoration: none !important;
}

.single-image-page .badge-item:focus {
    text-decoration: none !important;
}

.single-image-page .badge-item i {
    font-size: 0.875rem;
    color: #ff6600;
    transition: opacity 0.2s ease;
}

.single-image-page .badge-item:hover i {
    color: #ff6600;
    opacity: 0.8;
}

.single-image-page .badge-item span {
    color: #ff6600;
    font-weight: 400;
    transition: opacity 0.2s ease;
    text-decoration: none !important;
}

.single-image-page .badge-item:hover span {
    color: #ff6600;
    opacity: 0.8;
    text-decoration: none !important;
}

/* 作者名字 Tooltip 样式 - 只给有 data-tooltip 属性的元素显示 */
.single-image-page .badge-item[data-tooltip] {
    position: relative;
}

.single-image-page .badge-item[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transform: translateY(-4px);
    z-index: 1000;
}

.single-image-page .badge-item[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 10px;
    margin-bottom: 2px;
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
}

.single-image-page .badge-item[data-tooltip]:hover::after,
.single-image-page .badge-item[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.single-image-page .entry-title {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1.25rem 0;
    line-height: 1.5;
}

.single-image-page .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    font-size: 0.875rem;
    color: #64748b;
}

.single-image-page .entry-meta-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.single-image-page .entry-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    transition: color 0.2s ease;
}

.single-image-page .entry-meta span:hover {
    background: transparent;
    border: none;
    transform: none;
    color: #ff6600;
}

.single-image-page .entry-meta i {
    color: #94a3b8;
    font-size: 0.8rem;
}

.single-image-page .entry-meta a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-image-page .entry-meta a:hover {
    color: #ff6600;
}

.single-image-page .post-views {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #64748b;
    font-size: 0.875rem;
    text-decoration: none;
}

.single-image-page .post-views i {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* 文章属性显示 */
.post-attributes-wrapper {
    margin: 0.5rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.post-attributes-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    background: transparent;
}

.attributes-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.attributes-icon {
    font-size: 16px;
    color: #2271b1;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attributes-title {
    font-size: 14px;
    font-weight: 600;
    color: #2271b1;
}

.attributes-header-separator {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #d0d0d0 0,
        #d0d0d0 4px,
        transparent 4px,
        transparent 8px
    );
    margin: 0 12px;
}

.attributes-toggle-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
}

.attributes-toggle-btn:hover {
    background: #f5f5f5;
    color: #666;
}

.attributes-toggle-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.attributes-toggle-btn.collapsed i {
    transform: rotate(-90deg);
}

.post-attributes {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 1200px) {
    .post-attributes {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .post-attributes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .post-attributes {
        grid-template-columns: 1fr;
    }
}

.post-attributes-wrapper.collapsed .post-attributes {
    display: none;
}

.post-attribute-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    min-width: 0;
    width: 100%;
}

.post-attribute-item .attribute-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    padding: 12px 16px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 80px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: font-size 0.3s ease;
}

/* 自适应字体大小 */
.post-attribute-item {
    container-type: inline-size;
}

@container (max-width: 200px) {
    .post-attribute-item .attribute-title {
        font-size: 12px;
    }
    .post-attribute-item .attribute-description {
        font-size: 12px;
    }
}

@container (max-width: 150px) {
    .post-attribute-item .attribute-title {
        font-size: 11px;
    }
    .post-attribute-item .attribute-description {
        font-size: 11px;
    }
}

.post-attribute-item .attribute-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #2271b1;
    border-radius: 50%;
    flex-shrink: 0;
}

.post-attribute-item .attribute-description {
    flex: 1;
    font-size: 14px;
    color: #666;
    padding: 12px 16px;
    background: #fafafa;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: font-size 0.3s ease;
    min-width: 0;
    max-width: 100%;
}

.single-image-page .entry-meta a {
    color: #ff6600;
    text-decoration: none;
}

.single-image-page .entry-meta a:hover {
    text-decoration: underline;
}

/* 图片展示区域 */
.single-image-page .image-gallery {
    margin-bottom: 2rem;
}

.single-image-page .main-image {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.single-image-page .main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-image-page .main-image .image-lightbox {
    position: relative;
    display: block;
    cursor: pointer;
}

.single-image-page .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    opacity: 0;
}

.single-image-page .main-image:hover .image-overlay {
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.single-image-page .image-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* 正文内容标题区域 */
.entry-content-wrapper {
    margin: 1.5rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.entry-content-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    background: transparent;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 1rem;
}

.content-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.content-icon {
    font-size: 16px;
    color: #2271b1;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-title {
    font-size: 14px;
    font-weight: 600;
    color: #2271b1;
}

.content-header-separator {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #d0d0d0 0,
        #d0d0d0 4px,
        transparent 4px,
        transparent 8px
    );
    margin: 0 12px;
}

.content-toggle-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
}

.content-toggle-btn:hover {
    background: #f5f5f5;
    color: #666;
}

.content-toggle-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.content-toggle-btn.collapsed i {
    transform: rotate(-90deg);
}

.single-image-page .entry-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    padding: 0;
    margin-bottom: 2rem;
}

.single-image-page .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem auto;
    display: block;
}

.single-image-page .entry-footer {
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.single-image-page .entry-footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.single-image-page .entry-footer-bottom {
    display: flex;
    margin-left: -2px;
    margin-right: -2px;
}

.single-image-page .entry-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 标签靠左显示，点赞靠右显示 */
.single-image-page .entry-footer-top {
    justify-content: space-between;
}

/* 如果没有标签和点赞，居中显示 */
.single-image-page .entry-footer-top:not(:has(.tags-links)):not(:has(.post-like-wrapper)) {
    justify-content: center;
}

/* 只有点赞没有标签时，点赞居中显示 */
.single-image-page .entry-footer-top:not(:has(.tags-links)):has(.post-like-wrapper) {
    justify-content: center;
}

/* 只有标签没有点赞时，标签靠左显示 */
.single-image-page .entry-footer-top:has(.tags-links):not(:has(.post-like-wrapper)) {
    justify-content: flex-start;
}

.single-image-page .tags-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    max-width: 100%;
    justify-content: flex-start;
}

.single-image-page .tags-links i {
    color: #999;
    flex-shrink: 0;
}

.single-image-page .tags-links a {
    color: #ff6600;
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    background: #fff5f0;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-image-page .tags-links a:hover {
    background: #ff6600;
    color: #fff;
}

/* 下载按钮 */
.single-image-page .download-section {
    flex-shrink: 0;
    margin-right: 1rem;
}

.single-image-page .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.single-image-page .btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* 原文链接和版权信息 */
.single-image-page .post-source-info {
    flex: 0 0 65%;
    max-width: 65%;
    border-radius: 0;
    border-right: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
}

.single-image-page .post-source-info .source-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    white-space: nowrap;
}

.single-image-page .post-source-info .source-label {
    flex-shrink: 0;
    white-space: nowrap;
}

.single-image-page .post-source-info .source-link {
    color: #ff6600;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.single-image-page .post-source-info .source-link:hover {
    color: #e55a00;
    text-decoration: none;
}

.single-image-page .post-source-info .source-copyright {
    flex-shrink: 0;
    white-space: nowrap;
}

.single-image-page .post-source-info .source-text .copy-source-link-btn {
    margin-left: 0;
}

/* 复制原文链接按钮 */
.single-image-page .copy-source-link-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.single-image-page .copy-source-link-btn i {
    font-size: 0.9rem;
    color: #999;
    transition: color 0.3s ease;
}

.single-image-page .copy-source-link-btn .copy-text {
    font-size: 0.85rem;
}

.single-image-page .copy-source-link-btn:hover {
    background: #f8f9fa;
    border-color: #ff6600;
    color: #ff6600;
}

.single-image-page .copy-source-link-btn:hover i {
    color: #ff6600;
}

.single-image-page .copy-source-link-btn:active {
    transform: scale(0.98);
}

.single-image-page .copy-source-link-btn.copied {
    background: #e8f5e9;
    border-color: #07c160;
    color: #07c160;
}

.single-image-page .copy-source-link-btn.copied i {
    color: #07c160;
}

.single-image-page .copy-source-link-btn.copied .copy-text::after {
    content: '成功';
    margin-left: 0.25rem;
}

/* 分享按钮 */
.single-image-page .post-share {
    flex: 0 0 35%;
    max-width: 35%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0;
    border-left: none;
    box-shadow: none;
    justify-content: flex-end;
}

.single-image-page .share-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 0.25rem;
}

.single-image-page .share-buttons-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.single-image-page .share-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    white-space: nowrap;
}

.single-image-page .share-btn i {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    line-height: 1;
}

/* 生成海报按钮特殊样式 - 蓝色边框白色背景 */
.single-image-page .share-btn.share-poster {
    width: auto;
    height: auto;
    min-width: auto;
    padding: 2px 2px;
    background: #fff;
    border: 1px solid #2271b1;
    border-radius: 6px;
    color: #2271b1;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    transition: none;
}

.single-image-page .share-btn.share-poster i {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #2271b1;
    transition: none;
}

.single-image-page .share-btn.share-poster .share-btn-text {
    display: inline-block;
    font-size: 14px;
    color: #2271b1;
    font-weight: 400;
    white-space: nowrap;
}

.single-image-page .share-btn.share-poster:hover {
    background: #fff;
    border-color: #2271b1;
    color: #2271b1;
    transform: none;
    box-shadow: none;
}

.single-image-page .share-btn.share-poster:hover i {
    color: #2271b1;
    transform: none;
}

.single-image-page .share-btn.share-wechat {
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
}

.single-image-page .share-btn.share-qq {
    background: linear-gradient(135deg, #12b7f5 0%, #0ea5e9 100%);
}

.single-image-page .share-btn.share-douyin {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.single-image-page .share-btn.share-weibo {
    background: linear-gradient(135deg, #e6162d 0%, #c91429 100%);
}

.single-image-page .share-btn.share-copy {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

.single-image-page .share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.single-image-page .share-btn:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.single-image-page .share-btn:hover::before {
    width: 40px;
    height: 40px;
}

.single-image-page .share-btn:hover i {
    transform: scale(1.05);
}

.single-image-page .share-btn:active {
    transform: translateY(0) scale(1.02);
}

/* 点赞按钮 */
.single-image-page .post-like-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.single-image-page .post-like-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.single-image-page .post-like-btn i {
    font-size: 18px;
    color: #e74c3c;
    transition: all 0.3s ease;
}

.single-image-page .post-like-btn .like-count {
    font-weight: 600;
    color: #495057;
    min-width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.single-image-page .post-like-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #ff6600;
}

.single-image-page .post-like-btn:hover i {
    transform: scale(1.15);
    color: #e74c3c;
}

.single-image-page .post-like-btn.liked {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8e0 100%);
    border-color: #ff6600;
}

.single-image-page .post-like-btn.liked i {
    color: #e74c3c;
}

.single-image-page .post-like-btn.liked .like-count {
    color: #e74c3c;
}

.single-image-page .post-like-btn:active {
    transform: translateY(0) scale(0.98);
}

.single-image-page .post-like-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.single-image-page .post-like-btn.loading i {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* 相关图片 - 使用图片分类页卡片样式 */
.single-image-page .related-posts {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 2rem;
}

.single-image-page .related-posts-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.single-image-page .related-posts-title i {
    color: #ff6600;
}

.single-image-page .related-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    grid-auto-rows: auto;
}

/* 默认状态：隐藏第9、10个卡片（只显示前8个，两行） */
.single-image-page .related-posts-grid .related-post-item:nth-child(n+9) {
    display: none !important;
}

/* 当侧边栏隐藏时，一行显示5个卡片，显示所有10个（两行） */
.single-image-page .content-wrapper:has(.content-sidebar.sidebar-hidden) .related-posts-grid,
.single-image-page .content-wrapper.no-sidebar .related-posts-grid {
    grid-template-columns: repeat(5, 1fr) !important;
}

.single-image-page .content-wrapper:has(.content-sidebar.sidebar-hidden) .related-posts-grid .related-post-item:nth-child(n+9),
.single-image-page .content-wrapper.no-sidebar .related-posts-grid .related-post-item:nth-child(n+9) {
    display: flex !important;
}

/* 卡片容器 - 高端玻璃态设计 */
.single-image-page .related-post-item {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 8px !important;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    cursor: pointer !important;
    backdrop-filter: blur(10px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 高端渐变背景层 */
.single-image-page .related-post-item::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.03) 0%, 
        rgba(168, 85, 247, 0.03) 50%,
        rgba(236, 72, 153, 0.03) 100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    border-radius: 8px !important;
}

/* 图片区域 - 高端展示 */
.single-image-page .related-post-item .post-thumbnail {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
    aspect-ratio: 1 / 1 !important;
}

.single-image-page .related-post-item .post-thumbnail a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-image-page .related-post-item .post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    filter: brightness(1) saturate(1) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    will-change: transform !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: auto !important;
    -ms-interpolation-mode: bicubic !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    transform: translateZ(0) !important;
}

/* 鼠标悬停时图片微微放大 */
.single-image-page .related-post-item:hover .post-thumbnail img {
    transform: scale(1.05) !important;
}

/* 相关图片卡片标签徽章 */
.single-image-page .related-post-item .post-thumbnail .post-tag-badge {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 10 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(4px) !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

/* 热门标签样式 */
.single-image-page .related-post-item .post-thumbnail .post-tag-badge.post-tag-hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%) !important;
}

/* 独家标签样式 */
.single-image-page .related-post-item .post-thumbnail .post-tag-badge.post-tag-exclusive {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%) !important;
}

/* 推荐标签样式 */
.single-image-page .related-post-item .post-thumbnail .post-tag-badge.post-tag-recommended {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%) !important;
}

/* 精品标签样式 */
.single-image-page .related-post-item .post-thumbnail .post-tag-badge.post-tag-premium {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%) !important;
}

/* 内容区域 - 高端设计 */
.single-image-page .related-post-item .post-content {
    padding: 6px 6px 6px 6px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    z-index: 1 !important;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
    gap: 10px !important;
}

/* 第一行：标题样式 */
.single-image-page .related-post-item .entry-header {
    margin-bottom: 0 !important;
    width: 90% !important;
    max-width: 90% !important;
}

.single-image-page .related-post-item .entry-title {
    margin: 0 !important;
    line-height: 1.4 !important;
}

.single-image-page .related-post-item .entry-title a {
    color: #4d4a4a !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    letter-spacing: -0.01em !important;
    line-height: 1.5 !important;
}

/* 第二行：分类和标签 */
.single-image-page .related-post-item .entry-categories-tags {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    font-size: 12px !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
}

.single-image-page .related-post-item .entry-categories-tags .tag-links {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.single-image-page .related-post-item .entry-categories-tags .tag-links i {
    color: #ff6600 !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
}

.single-image-page .related-post-item .entry-categories-tags .tag-links a {
    color: #000000 !important;
    text-decoration: none !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* 标签右侧价格显示 */
.single-image-page .related-post-item .entry-categories-tags .post-price-inline {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #ff6600 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    margin-left: auto !important;
}

.single-image-page .related-post-item .entry-categories-tags .post-price-inline i {
    color: #ff6600 !important;
    font-size: 12px !important;
}

.single-image-page .related-post-item .entry-categories-tags .post-price-inline .price-unit {
    color: #ff6600 !important;
    font-size: 12px !important;
}

/* 第三行：作者（左）、权限（中）、浏览量（右） */
.single-image-page .related-post-item .entry-footer-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(226, 232, 240, 0.6) !important;
    gap: 1px !important;
    overflow: visible !important;
}

/* 左边：作者 */
.single-image-page .related-post-item .entry-footer-meta .footer-meta-left {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

/* 中间：权限 */
.single-image-page .related-post-item .entry-footer-meta .footer-meta-center {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

/* 右边：浏览量 */
.single-image-page .related-post-item .entry-footer-meta .footer-meta-right {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.single-image-page .related-post-item .entry-footer-meta .author-info {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    overflow: visible !important;
    white-space: nowrap !important;
    min-width: 0 !important;
}

.single-image-page .related-post-item .entry-footer-meta .author-info a {
    text-decoration: none !important;
    color: inherit !important;
    position: relative !important;
    z-index: 1 !important;
}

/* 作者样式 */
.single-image-page .related-post-item .entry-footer-meta .post-author {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #6b7280 !important;
    font-size: 11px !important;
    position: relative !important;
    cursor: pointer !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-author img,
.single-image-page .related-post-item .entry-footer-meta .post-author .avatar {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    object-fit: cover !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-author .author-name {
    max-width: 60px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

/* 作者悬浮提示框 */
.single-image-page .related-post-item .entry-footer-meta .post-author .author-tooltip {
    position: absolute !important;
    bottom: 100% !important;
    left: 0 !important;
    transform: translateY(-8px) !important;
    background: rgba(0, 0, 0, 0.85) !important;
    color: #ffffff !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
    transition-delay: 0s !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(8px) !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-author .author-tooltip::after {
    content: '' !important;
    position: absolute !important;
    top: 100% !important;
    left: 12px !important;
    transform: translateX(0) !important;
    border: 5px solid transparent !important;
    border-top-color: rgba(0, 0, 0, 0.85) !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-author:hover .author-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-12px) !important;
    transition-delay: 0.3s !important;
}

/* 浏览量样式 */
.single-image-page .related-post-item .entry-footer-meta .post-views {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12px !important;
    color: #64748b !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-views i {
    font-size: 11px !important;
    color: #94a3b8 !important;
}

/* 权限区域样式 */
.single-image-page .related-post-item .entry-footer-meta .post-permission {
    overflow: hidden !important;
    white-space: nowrap !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price {
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #64748b !important;
    font-size: 12px !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price i {
    font-size: 11px !important;
    color: #94a3b8 !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.free {
    color: #10b981 !important;
    font-size: 12px !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.free i {
    color: #10b981 !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.charge {
    color: #f59e0b !important;
    font-size: 12px !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.charge i {
    color: #f59e0b !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.vip {
    color: #8b5cf6 !important;
    font-size: 12px !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.vip i {
    color: #8b5cf6 !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.vip-trial {
    color: #8b5cf6 !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.vip-trial i {
    color: #8b5cf6 !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.vip-month {
    color: #3b82f6 !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.vip-month i {
    color: #3b82f6 !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.vip-quarter {
    color: #10b981 !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.vip-quarter i {
    color: #10b981 !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.vip-year {
    color: #f59e0b !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.vip-year i {
    color: #f59e0b !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.vip-lifetime {
    color: #ef4444 !important;
}

.single-image-page .related-post-item .entry-footer-meta .post-price.vip-lifetime i {
    color: #ef4444 !important;
}

/* 分享消息提示 */
.share-message {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    padding: 1rem 1.5rem;
    background: #333;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    text-align: center;
    font-size: 0.95rem;
    pointer-events: none;
}

.share-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.share-message-success {
    background: #07c160;
}

.share-message-error {
    background: linear-gradient(135deg, #e6162d 0%, #c91429 100%);
    box-shadow: 0 8px 24px rgba(230, 22, 45, 0.3);
}

/* 海报弹窗样式 */
.poster-modal-overlay {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.poster-modal-content {
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.poster-modal-close:hover {
    background: rgba(0, 0, 0, 0.7) !important;
    transform: rotate(90deg);
}

.poster-download-btn:hover {
    background: #e55a00 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* 消息弹窗样式 */
.follow-message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.follow-message-overlay.show {
    opacity: 1;
}

.follow-message-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 24px 28px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 9999;
    margin: 0;
    flex-shrink: 0;
}

.follow-message-modal.show {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* 文章导航样式 - 重新设计 */
.single-image-page .post-navigation {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin: 2rem 0;
    padding: 0 12px;
    box-sizing: border-box;
}

.single-image-page .post-navigation .nav-item {
    flex: 1;
    display: block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    height: 76px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.single-image-page .post-navigation .nav-item.nav-empty {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.single-image-page .post-navigation .nav-item-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 100%;
}

.single-image-page .post-navigation .nav-previous .nav-item-content {
    flex-direction: row;
}

.single-image-page .post-navigation .nav-next .nav-item-content {
    flex-direction: row-reverse;
}

.single-image-page .post-navigation .nav-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: visible;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.single-image-page .post-navigation .nav-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: 0;
}

.single-image-page .post-navigation .nav-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    border-radius: 8px;
}

.single-image-page .post-navigation .nav-item:hover .nav-thumbnail img {
    transform: scale(1.05);
}

.single-image-page .post-navigation .nav-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    justify-content: center;
}

.single-image-page .post-navigation .nav-previous .nav-text {
    text-align: left;
}

.single-image-page .post-navigation .nav-next .nav-text {
    text-align: right;
}

.single-image-page .post-navigation .nav-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.single-image-page .post-navigation .nav-label i {
    font-size: 0.75rem;
}

.single-image-page .post-navigation .nav-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-image-page .post-navigation .nav-title.nav-no-post {
    font-weight: 400;
    color: #94a3b8;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .single-image-page .post-navigation {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0;
    }
    
    .single-image-page .post-navigation .nav-item {
        padding: 0.75rem 1rem;
        height: 76px;
    }
    
    .single-image-page .post-navigation .nav-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .single-image-page .post-navigation .nav-title {
        font-size: 0.875rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .single-image-page .post-navigation .nav-next .nav-item-content {
        flex-direction: row;
    }
    
    .single-image-page .post-navigation .nav-next .nav-text {
        text-align: left;
    }
    
    .share-message {
        min-width: 180px;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        left: 50%;
        top: 45%;
    }
    
    .poster-modal-content {
        padding: 15px !important;
        max-width: 95% !important;
    }
    
    .poster-modal-content img {
        max-height: calc(90vh - 80px) !important;
    }
    
    .poster-download-btn {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
    
    .single-image-page .entry-footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .single-image-page .tags-links {
        width: 100%;
    }
    
    .single-image-page .post-like-wrapper {
        width: 100%;
        justify-content: flex-start;
    }
    
    .single-image-page .post-like-btn {
        width: auto;
    }
    
    .single-image-page .entry-footer-bottom {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .single-image-page .download-section {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .single-image-page .post-source-info {
        flex: 0 0 100%;
        max-width: 100%;
        border-right: 1px solid #e9ecef;
        border-bottom: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .single-image-page .post-source-info .source-text {
        width: 100%;
    }
    
    .single-image-page .copy-source-link-btn {
        align-self: flex-start;
    }
    
    .single-image-page .post-share {
        flex: 0 0 100%;
        max-width: 100%;
        border-left: 1px solid #e9ecef;
        border-top: none;
        justify-content: center;
    }
    
    .single-image-page .post-share {
        flex-wrap: wrap;
    }
    
    .single-image-page .share-buttons-group {
        width: 100%;
        justify-content: center;
    }
    
    .single-image-page .image-post {
        padding: 1.5rem;
    }
    
    .single-image-page .entry-title {
        font-size: 1.5rem;
    }
    
    .single-image-page .entry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .single-image-page .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   评论列表样式 - 优化设计
   ============================================ */

/* 评论区域容器 */
.single-image-page #comments,
.single-image-page .comments-area {
    margin-top: 3rem;
    padding: 0 12px;
}

/* 评论表单和评论列表之间的间距
.single-image-page .comment-respond {
    margin-bottom: 3rem;*/
}

/* 评论列表容器 */
.single-image-page .comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 一级评论（主评论） */
.single-image-page .comment-list > .comment {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.single-image-page .comment-list > .comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* 评论项容器 */
.single-image-page .comment-body {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    transition: none;
    position: relative;
    box-shadow: none;
}

/* 头像和内容合并在一行 */
.single-image-page .comment-content-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
}

.single-image-page .comment-body:hover {
    box-shadow: none;
    border-color: transparent;
}

/* 头像区域 - 左边 */
.single-image-page .comment-avatar-wrapper {
    flex-shrink: 0;
    width: 26px;
    display: flex;
    align-items: flex-start;
}

.single-image-page .comment-avatar-wrapper .avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    display: block;
}

/* 内容区域 - 右边 */
.single-image-page .comment-right-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* 评论内容区域 */
.single-image-page .comment-content-wrapper {
    flex: 1;
    margin-bottom: 0.5rem;
}

/* 下面：评论底部信息 */
.single-image-page .comment-footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.single-image-page .comment-footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* 评论作者名称 */
.single-image-page .comment-author-name {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.875rem;
    font-style: normal;
}

.single-image-page .comment-author-name a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-image-page .comment-author-name a:hover {
    color: #3b82f6;
}

/* 一级评论（主评论） */
.single-image-page .comment-list > .comment {
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
}

.single-image-page .comment-list > .comment:last-child {
    margin-bottom: 0;
}

/* 一级评论的comment-body框 */
.single-image-page .comment-list > .comment > .comment-body {
    margin-bottom: 0;
}

/* 二级评论容器 - 独立显示在一级评论框外面，稍微退后 */
.single-image-page .comment-list > .comment > .children,
.single-image-page .comments-area .comment-list > .comment > .children,
.single-image-page #comments .comment-list > .comment > .children {
    list-style: none !important;
    margin: 0.75rem 0 0 0 !important;
    padding-left: 30px !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: 100% !important;
    display: block !important;
    position: relative !important;
    clear: both !important;
}

.single-image-page .comment-list .children .comment {
    margin-bottom: 0.75rem;
    padding-bottom: 0;
    border-bottom: none;
    margin-left: 30px !important;
    padding-left: 0 !important;
    list-style: none !important;
    position: relative;
}

/* 二级评论编号占位透明 */
.single-image-page .comment-list .children .comment::before {
    content: '';
    opacity: 0;
    visibility: hidden;
}

.single-image-page .comment-list .children .comment:last-child {
    margin-bottom: 0;
}

/* 二级评论（回复） - 无框样式 */
.single-image-page .comment-list .children .comment-body {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    margin-left: 0;
    box-shadow: none;
    transition: none;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
}

.single-image-page .comment-list .children .comment-body:hover {
    box-shadow: none;
    border-color: transparent;
    background: transparent;
}

/* 评论头部（已移动到footer，保留兼容性） */
.single-image-page .comment-meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

/* 评论头像（已移动到avatar-wrapper，保留兼容性） */
.single-image-page .comment-author .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    flex-shrink: 0;
}

/* 评论作者信息（已移动到footer，保留兼容性） */
.single-image-page .comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #1e293b;
    font-size: 0.875rem;
}

.single-image-page .comment-author .fn {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-image-page .comment-author .fn:hover {
    color: #3b82f6;
}

.single-image-page .comment-author .says {
    display: none;
}

/* 评论时间 */
.single-image-page .comment-metadata {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-left: auto;
}

.single-image-page .comment-metadata a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-image-page .comment-metadata a:hover {
    color: #3b82f6;
}

.single-image-page .comment-metadata time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.single-image-page .comment-metadata time::before {
    content: '\f017';
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    font-size: 0.6875rem;
}

/* 评论内容 - 一行显示 */
.single-image-page .comment-content {
    color: #475569;
    line-height: 1.6;
    font-size: 0.875rem;
    margin-top: 0;
    word-wrap: break-word;
    letter-spacing: 0.01em;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.single-image-page .comment-content > * {
    display: inline;
    margin: 0;
}

.single-image-page .comment-content p {
    margin: 0;
    display: inline;
}

.single-image-page .comment-content p:last-child {
    margin-bottom: 0;
}

/* 回复提示 */
.single-image-page .comment-reply-to {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.625rem;
    background: #f1f5f9;
    border-radius: 4px;
    border-left: 2px solid #3b82f6;
}

.single-image-page .comment-reply-to i {
    font-size: 0.6875rem;
    color: #94a3b8;
}

.single-image-page .comment-reply-to .reply-to-author {
    color: #3b82f6;
    font-weight: 500;
}

/* 评论回复链接容器（鼠标悬停显示） */
/* 评论回复链接容器（跟随在点赞后面） */
.single-image-page .comment-reply-wrapper {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.single-image-page .comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: #94a3b8;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.single-image-page .comment-reply-link:hover {
    background: #f1f5f9;
    color: #3b82f6;
}

.single-image-page .comment-reply-link i {
    font-size: 0.6875rem;
    margin-right: 0.25rem;
}

/* 评论点赞按钮 - 仅图标样式 */
.single-image-page .comment-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.single-image-page .comment-like-btn:hover:not(:disabled) {
    opacity: 0.8;
}

.single-image-page .comment-like-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.single-image-page .comment-like-btn:not(:disabled) {
    pointer-events: auto;
}

/* 默认状态 - 灰色 */
.single-image-page .comment-like-btn i {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
}

.single-image-page .comment-like-btn:hover:not(:disabled) i {
    transform: scale(1.1);
}

/* 已点赞状态 - 橙红色 */
.single-image-page .comment-like-btn.liked i {
    color: #ff6600;
    animation: likePulse 0.3s ease;
}

@keyframes likePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.single-image-page .comment-like-count {
    font-size: 0.75rem;
    color: #64748b;
    margin-left: 0.125rem;
    transition: color 0.2s ease;
}

.single-image-page .comment-like-btn.liked .comment-like-count {
    color: #ff6600;
}

/* 等待审核的评论 */
.single-image-page .comment-awaiting-moderation {
    display: inline-block;
    font-size: 0.75rem;
    color: #f59e0b;
    background: #fef3c7;
    padding: 0.1875rem 0.375rem;
    border-radius: 3px;
    margin-left: 0.375rem;
}

/* 评论编辑链接 */
.single-image-page .comment-edit-link {
    font-size: 0.8125rem;
    color: #94a3b8;
    text-decoration: none;
    margin-left: 0.375rem;
    transition: color 0.2s ease;
}

.single-image-page .comment-edit-link:hover {
    color: #3b82f6;
}

/* 无评论提示 */
.single-image-page .nocomments,
.single-image-page .comments-area .no-comments {
    text-align: center;
    color: #64748b;
    font-size: 0.9375rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    margin: 2rem 0;
}

/* 无评论时的提示文本 */
.single-image-page .no-comments-prompt {
    margin-top: 2rem;
    padding: 0 12px;
}

.single-image-page .no-comments-prompt .no-comments-text {
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px dashed #cbd5e1;
}

.single-image-page .no-comments-prompt .no-comments-text i {
    color: #ff6600;
    font-size: 1.125rem;
}

/* 评论分页 */
.single-image-page .comment-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.single-image-page .comment-navigation .nav-previous,
.single-image-page .comment-navigation .nav-next {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.single-image-page .comment-navigation .nav-previous:hover,
.single-image-page .comment-navigation .nav-next:hover {
    background: #f1f5f9;
    color: #3b82f6;
}

/* ============================================
   评论表单样式 - 优化设计
   ============================================ */

/* 评论标题 */
.single-image-page .comments-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.single-image-page .comments-title i {
    color: #ff6600;
}

/* 评论表单容器 */
.single-image-page .comment-respond {
    background: #ffffff;
    border-radius: 12px;
    margin-top: 2rem;
}

/* 评论表单标题 */
.single-image-page .comment-respond .comment-reply-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.single-image-page .comment-respond .comment-reply-title i {
    color: #ff6600;
}

/* 未登录时的登录提示输入框 */
.single-image-page .comment-login-prompt {
    margin-top: 1rem;
    width: 100%;
}

.single-image-page .comment-login-input-wrapper {
    position: relative;
    margin-bottom: 0.75rem;
}

.single-image-page .comment-login-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #64748b;
    background-color: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 118px;
    min-height: 118px;
}

.single-image-page .comment-login-prompt-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(255, 102, 0, 0.2);
    white-space: nowrap;
}

.single-image-page .comment-login-prompt-btn:hover {
    background: linear-gradient(135deg, #e55a00 0%, #cc5000 100%);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    transform: translate(-50%, -50%) translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

.single-image-page .comment-login-prompt-btn:active {
    transform: translate(-50%, -50%);
}

.single-image-page .comment-login-input:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.single-image-page .comment-login-input:focus {
    outline: none;
    border-color: #ff6600;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.single-image-page .comment-login-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: default;
    transition: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(255, 102, 0, 0.2);
    white-space: nowrap;
    opacity: 0.8;
}

.single-image-page .comment-login-btn:disabled {
    cursor: default;
    opacity: 0.8;
}

.single-image-page .comment-login-btn:hover {
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%);
    box-shadow: 0 2px 4px rgba(255, 102, 0, 0.2);
    transform: none;
}

.single-image-page .comment-login-btn:active {
    transform: none;
}

.single-image-page .comment-login-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.single-image-page .comment-login-link,
.single-image-page .comment-register-link {
    color: #64748b;
    text-decoration: none;
    cursor: default;
}

.single-image-page .comment-login-link:hover,
.single-image-page .comment-register-link:hover {
    color: #64748b;
    text-decoration: none;
}

.single-image-page .comment-login-separator {
    color: #cbd5e1;
}

/* 取消回复链接 */
.single-image-page .comment-respond #cancel-comment-reply-link {
    margin-left: auto;
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.single-image-page .comment-respond #cancel-comment-reply-link:hover {
    background: #f1f5f9;
    color: #3b82f6;
}

/* 已登录提示 */
.single-image-page .comment-respond .logged-in-as {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
}

.single-image-page .comment-respond .logged-in-as a {
    color: #3b82f6;
    text-decoration: none;
    margin: 0 0.25rem;
}

.single-image-page .comment-respond .logged-in-as a:hover {
    text-decoration: underline;
}

/* 评论表单 */
.single-image-page .comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* 表单字段组 */
.single-image-page .comment-form .comment-form-comment,
.single-image-page .comment-form .comment-form-author,
.single-image-page .comment-form .comment-form-email,
.single-image-page .comment-form .comment-form-url {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* 标签样式 */
.single-image-page .comment-form label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.single-image-page .comment-form label .required {
    color: #ef4444;
}

/* 文本域和输入框 */
.single-image-page .comment-form textarea,
.single-image-page .comment-form input[type="text"],
.single-image-page .comment-form input[type="email"],
.single-image-page .comment-form input[type="url"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: inherit;
}

.single-image-page .comment-form textarea {
    height: 118px;
    min-height: 118px;
    resize: vertical;
    line-height: 1.6;
}

.single-image-page .comment-form textarea:focus,
.single-image-page .comment-form input[type="text"]:focus,
.single-image-page .comment-form input[type="email"]:focus,
.single-image-page .comment-form input[type="url"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.single-image-page .comment-form textarea::placeholder,
.single-image-page .comment-form input::placeholder {
    color: #9ca3af;
}

/* 表单字段网格布局（未登录用户） */
.single-image-page .comment-form .comment-form-author,
.single-image-page .comment-form .comment-form-email,
.single-image-page .comment-form .comment-form-url {
    flex: 1;
}

@media (min-width: 768px) {
    .single-image-page .comment-form .comment-form-author,
    .single-image-page .comment-form .comment-form-email {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

/* 评论提示 */
.single-image-page .comment-form .comment-notes {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.single-image-page .comment-form .comment-notes-before {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
}

/* 提交按钮区域 */
.single-image-page .comment-form .form-submit {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

/* 提交按钮和验证码包装器 */
.single-image-page .comment-form .comment-submit-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.single-image-page .comment-form #submit {
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(255, 102, 0, 0.2);
}

.single-image-page .comment-form #submit:hover {
    background: linear-gradient(135deg, #e55a00 0%, #cc5000 100%);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    transform: translateY(-1px);
}

.single-image-page .comment-form #submit:active {
    transform: translateY(0);
}

.single-image-page .comment-form #submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: #cbd5e1 !important;
    box-shadow: none !important;
}

.single-image-page .comment-form #submit:disabled:hover {
    background: #cbd5e1 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* 未登录状态的输入框样式 - 保持外观一致但禁用 */
.single-image-page .comment-form textarea:disabled,
.single-image-page .comment-form input:disabled {
    background-color: #ffffff;
    color: #64748b;
    cursor: not-allowed;
    opacity: 0.8;
    border-color: #e2e8f0;
}

.single-image-page .comment-form textarea:disabled::placeholder,
.single-image-page .comment-form input:disabled::placeholder {
    color: #94a3b8;
}

/* Cookie同意复选框 */
.single-image-page .comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.single-image-page .comment-form .comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 0.125rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3b82f6;
}

/* 验证码字段 */
.single-image-page .comment-form .comment-form-captcha {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.single-image-page .comment-form .comment-form-captcha #comment_captcha {
    width: 100px;
    height: 42px;
    padding: 0.75rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-align: center;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.single-image-page .comment-form .comment-form-captcha #comment_captcha:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.single-image-page .comment-form .comment-form-captcha .captcha-image {
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 4px;
    background: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
    display: block;
}

.single-image-page .comment-form .comment-form-captcha .captcha-image:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .single-image-page .comment-respond {
        padding: 1.5rem;
    }
    
    .single-image-page .comment-form .comment-form-author,
    .single-image-page .comment-form .comment-form-email {
        grid-template-columns: 1fr;
    }
    
    .single-image-page .comment-form .comment-submit-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .single-image-page .comment-form .comment-form-captcha {
        width: 100%;
        justify-content: space-between;
    }
    
    .single-image-page .comment-form .comment-form-captcha #comment_captcha {
        flex: 1;
    }
    
    .single-image-page .comment-form #submit {
        width: 100%;
        justify-content: center;
    }
    
    /* 评论列表响应式 */
    .single-image-page .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .single-image-page .comment-metadata {
        margin-left: 0;
        width: 100%;
    }
    
    .single-image-page .comment-author .avatar {
        width: 36px;
        height: 36px;
    }
    
    .single-image-page .comment-navigation {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .single-image-page .comment-navigation .nav-previous,
    .single-image-page .comment-navigation .nav-next {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   常见问题模块样式
   ============================================ */

.single-image-page .faq-section {
    margin-top: 3rem;
    padding: 12px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.single-image-page .faq-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.single-image-page .faq-title i {
    color: #ff6600;
}

.single-image-page .faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.single-image-page .faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.single-image-page .faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.single-image-page .faq-item.active {
    border-color: #ff6600;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.1);
}

.single-image-page .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.2s ease;
    user-select: none;
    gap: 0.75rem;
}

.single-image-page .faq-question-icon {
    font-size: 1rem;
    color: #ff6600;
    flex-shrink: 0;
}

.single-image-page .faq-question:hover {
    background: #f1f5f9;
}

.single-image-page .faq-item.active .faq-question {
    background: #fff9e6;
}

.single-image-page .faq-question-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1e293b;
    flex: 1;
}

.single-image-page .faq-icon {
    font-size: 0.75rem;
    color: #64748b;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.single-image-page .faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #ff6600;
}

.single-image-page .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.25rem;
}

.single-image-page .faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 1rem 1.25rem;
}

.single-image-page .faq-answer-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.single-image-page .faq-answer-icon {
    font-size: 0.875rem;
    color: #ff6600;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.single-image-page .faq-answer p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #475569;
    flex: 1;
}

/* 响应式 */
@media (max-width: 768px) {
    .single-image-page .faq-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .single-image-page .faq-title {
        font-size: 1.25rem;
    }
    
    .single-image-page .faq-question {
        padding: 0.875rem 1rem;
    }
    
    .single-image-page .faq-question-text {
        font-size: 0.875rem;
    }
    
    .single-image-page .faq-item.active .faq-answer {
        padding: 0.875rem 1rem 1rem;
    }
}

