/**
 * Post Card Display - 卡片样式
 * Version: 1.1.0 - 增强对比度优化版
 * 
 * 使用主题CSS变量，自动适配日间/夜间模式：
 * 
 * 日间模式 (默认):
 * --key-color: #333 (主要文字颜色，最深)
 * --main-color: #4e5358 (次要文字颜色)
 * --muted-color: #777 (灰色文字)
 * --body-bg-color: #f5f6f7 (页面背景)
 * --main-bg-color: #fff (卡片背景)
 * --muted-bg-color: #eee (次级背景)
 * --main-border-color: rgba(50,50,50,0.06) (边框)
 * --theme-color: #f04494 (主题色/强调色)
 * 
 * 夜间模式 (.dark-theme):
 * --key-color: #f8fafc (主要文字颜色，最亮)
 * --main-color: #e5eef7 (次要文字颜色)
 * --muted-color: #b4b6bb (灰色文字)
 * --body-bg-color: #292a2d (页面背景)
 * --main-bg-color: #323335 (卡片背景)
 * --muted-bg-color: #2d2e31 (次级背景)
 * --main-border-color: rgba(114,114,114,0.1) (边框)
 * --theme-color: #f04494 (主题色保持一致)
 */

/* 容器样式 - 增强整体对比度 */
.pcd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 为容器添加轻微的背景遮罩，增强卡片对比 */
.pcd-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.02) 0%,
            transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* 夜间模式下的容器背景 */
.dark-theme .pcd-container::before {
    background: radial-gradient(ellipse at center,
            rgba(255, 255, 255, 0.01) 0%,
            transparent 70%);
}

/* 卡片基础样式 - 增强对比度 */
.pcd-card {
    background: var(--main-bg-color, #fff);
    border: 2px solid var(--main-border-color, #e5e5e5);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: visible;
    /* transition 已移除，卡片完全静态 */
    /* 增强阴影效果，提高层次感 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    position: relative;
    /* 不设置z-index，避免创建层叠上下文导致下拉菜单被遮挡 */
}

/* 为卡片添加更强的背景层 */
.pcd-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 1) 100%);
    z-index: -1;
    pointer-events: none;
    border-radius: 12px;
}

/* 光晕效果已移除 */

/* 夜间模式下的卡片背景强化 */
.dark-theme .pcd-card::before {
    background: linear-gradient(135deg,
            rgba(50, 51, 53, 0.98) 0%,
            rgba(50, 51, 53, 1) 100%);
}

/* 悬停效果已完全禁用 */

/* 卡片头部 - 增强对比度 */
.pcd-card-header {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.08) 0%,
            rgba(240, 68, 148, 0.08) 100%);
    border-bottom: 2px solid var(--main-border-color, #e5e5e5);
    padding: 15px 20px;
    color: var(--key-color, #333);
    /* backdrop-filter: blur(10px); 移除：会创建层叠上下文导致下拉菜单被遮挡 */
    border-radius: 12px 12px 0 0;
}

/* 夜间模式下的卡片头部 */
.dark-theme .pcd-card-header {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.12) 0%,
            rgba(240, 68, 148, 0.12) 100%);
}

.pcd-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.pcd-card-header h3 i {
    margin-right: 8px;
}

/* 卡片主体 - 增强背景 */
.pcd-card-body {
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0 0 12px 12px;
}

/* 夜间模式下的卡片主体 */
.dark-theme .pcd-card-body {
    background: rgba(50, 51, 53, 0.4);
}

/* 基本信息卡片样式 */
.pcd-info-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 12px;
    border-bottom: 1px solid var(--main-border-color, #f0f0f0);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    margin-bottom: 8px;
    /* transition 已移除 */
}

.pcd-info-item:last-child {
    border-bottom: 1px solid var(--main-border-color, #f0f0f0);
}

/* 悬停效果已禁用 */

/* 夜间模式下的信息项 */
.dark-theme .pcd-info-item {
    background: rgba(40, 41, 43, 0.4);
}

/* 夜间模式悬停效果已禁用 */

.pcd-label {
    font-weight: 600;
    color: var(--key-color, #333);
    min-width: 100px;
    display: flex;
    align-items: center;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* 夜间模式下的标签 */
.dark-theme .pcd-label {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.pcd-value {
    color: var(--main-color, #555);
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

.pcd-service-item .pcd-value {
    color: var(--key-color, #333);
    font-weight: 500;
}

.pcd-price-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 14px 12px !important;
    border-radius: 6px;
    margin-top: 0;
    border: none !important;
    border-bottom: 1px solid var(--main-border-color, #f0f0f0) !important;
    box-shadow: none;
}

/* 夜间模式下的价格项 */
.dark-theme .pcd-price-item {
    background: rgba(40, 41, 43, 0.4);
    border-bottom-color: var(--main-border-color, #f0f0f0) !important;
}

.pcd-price {
    color: var(--theme-color, #f04494);
    font-size: 18px !important;
    font-weight: 600;
}

/* 图标样式 - 简洁版，不使用emoji */
.pcd-icon {
    display: none;
}

/* 联系方式卡片 */
.pcd-contact-content {
    font-size: 15px;
    color: var(--key-color, #333);
    line-height: 1.8;
    padding: 20px;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.06) 0%,
            rgba(102, 126, 234, 0.1) 100%);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.15);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
}

/* 夜间模式下的联系方式内容 */
.dark-theme .pcd-contact-content {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.12) 0%,
            rgba(102, 126, 234, 0.18) 100%);
    border-color: rgba(102, 126, 234, 0.25);
}

/* 联系方式包装器 */
.pcd-contact-wrapper {
    width: 100%;
}

/* VIP会员权限提示 */
.pcd-contact-permission {
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    padding: 0;
    margin-bottom: 10px;
    color: var(--key-color, #333);
}

/* 夜间模式下的权限提示 */
.dark-theme .pcd-contact-permission {
    color: var(--key-color, #e0e0e0);
}

/* 联系项目列表容器 */
.pcd-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 单个联系项 */
.pcd-contact-item {
    padding: 8px 0;
    font-size: 14px;
    color: var(--main-color, #666);
    text-align: left;
    line-height: 1.8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* 联系方式文本 */
.pcd-contact-text {
    flex: 1;
    min-width: 0;
    word-break: break-all;
}

/* 复制按钮 - 日间模式默认深色方案 */
.pcd-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 4px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(67, 56, 202, 0.35);
    border-radius: 6px;
    background: rgba(67, 56, 202, 0.12);
    color: #4338ca;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1;
    box-sizing: border-box;
    max-width: 80px;
    min-width: fit-content;
    overflow: hidden;
}

.pcd-copy-btn:hover {
    background: rgba(67, 56, 202, 0.2);
    border-color: rgba(67, 56, 202, 0.5);
    color: #3730a3;
    transform: scale(1.05);
}

.pcd-copy-btn:active {
    transform: scale(0.95);
}

/* 复制按钮文字 */
.pcd-copy-label {
    font-size: 12px;
    line-height: 1;
    color: inherit;
}

.pcd-copy-label-done {
    font-size: 12px;
    line-height: 1;
    display: none !important;
    color: #22c55e;
}

/* 复制图标 */
.pcd-copy-icon,
.pcd-copy-icon-done {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px;
    min-height: 14px;
    max-width: 14px;
    max-height: 14px;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pcd-copy-icon-done {
    display: none !important;
    color: #22c55e;
}

/* 确保复制按钮内SVG不被主题样式影响 */
.pcd-copy-btn svg.pcd-copy-icon {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px;
    min-height: 14px;
    max-width: 14px;
    max-height: 14px;
    flex-shrink: 0;
    display: inline-block !important;
    vertical-align: middle;
}

.pcd-copy-btn svg.pcd-copy-icon-done {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px;
    min-height: 14px;
    max-width: 14px;
    max-height: 14px;
    flex-shrink: 0;
    display: none !important;
    vertical-align: middle;
}

/* 复制成功状态 */
.pcd-copy-btn.pcd-copied {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.pcd-copy-btn.pcd-copied .pcd-copy-icon {
    display: none;
}

.pcd-copy-btn.pcd-copied .pcd-copy-label {
    display: none;
}

.pcd-copy-btn.pcd-copied .pcd-copy-icon-done {
    display: none !important;
}

.pcd-copy-btn.pcd-copied .pcd-copy-label-done {
    display: inline !important;
}

/* 复制成功提示气泡 */
.pcd-copy-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.pcd-copy-tooltip.pcd-tooltip-show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* 夜间模式下的复制按钮 - 白色半透明玻璃风格 */
.dark-theme .pcd-copy-btn {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    color: #d1d5f0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.dark-theme .pcd-copy-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* 体验卡片 */
.pcd-experience-content {
    font-size: 14px;
    color: var(--main-color, #666);
    line-height: 1.8;
    padding: 20px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(245, 245, 245, 0.9) 100%);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 夜间模式下的体验内容 */
.dark-theme .pcd-experience-content {
    background: linear-gradient(135deg,
            rgba(40, 41, 43, 0.8) 0%,
            rgba(35, 36, 38, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* 详情卡片（隐藏内容）- 使用和图片卡片一样的彩色渐变 */
.pcd-details-card {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.06) 0%,
            rgba(240, 68, 148, 0.08) 100%);
}

.pcd-details-card .pcd-card-header {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.08) 0%,
            rgba(240, 68, 148, 0.08) 100%);
}

/* 夜间模式下的详情卡片头部 */
.dark-theme .pcd-details-card .pcd-card-header {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.12) 0%,
            rgba(240, 68, 148, 0.12) 100%);
}

.pcd-details-content {
    font-size: 14px;
    color: var(--main-color, #666);
    line-height: 1.8;
    display: block;
    padding: 20px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(245, 245, 245, 0.9) 100%);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 夜间模式下的详情内容区域 */
.dark-theme .pcd-details-content {
    background: linear-gradient(135deg,
            rgba(40, 41, 43, 0.8) 0%,
            rgba(35, 36, 38, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* 详情包装器 */
.pcd-details-wrapper {
    width: 100%;
    padding: 0;
    display: block;
}

/* VIP会员权限提示（详情卡片） */
.pcd-details-permission {
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    padding: 12px 20px;
    margin-bottom: 20px !important;
    display: block !important;
    width: 100%;
    color: var(--key-color, #333);
}

/* 夜间模式下的详情权限提示 */
.dark-theme .pcd-details-permission {
    color: var(--key-color, #f0e0a0);
}

/* 详情文本内容 - 简洁风格，去掉青色/绿色 */
.pcd-details-text {
    display: block !important;
    margin-top: 0 !important;
    width: 100%;
    font-size: 14px;
    color: var(--main-color, #555);
    line-height: 1.8;
    text-align: left;
}

/* 夜间模式下的详情文本 */
.dark-theme .pcd-details-text {
    color: var(--main-color, #d0d0d0);
}

/* 图片卡片 */
.pcd-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

.pcd-member-media-locked {
    min-height: 220px;
    border-radius: 10px;
    border: 1.5px dashed rgba(240, 68, 148, 0.28);
    background:
        linear-gradient(145deg, rgba(102, 126, 234, 0.06), rgba(240, 68, 148, 0.08)),
        var(--main-bg-color, #fff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 20px;
    color: var(--main-color, #666);
}

.pcd-member-media-icon {
    color: var(--theme-color, #f04494);
    opacity: 0.72;
    margin-bottom: 14px;
}

.pcd-member-media-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--key-color, #333);
    margin-bottom: 8px;
}

.pcd-member-media-desc {
    max-width: 460px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted-color, #888);
    margin-bottom: 18px;
}

.pcd-member-media-actions {
    display: flex;
    justify-content: center;
}

.dark-theme .pcd-member-media-locked {
    background:
        linear-gradient(145deg, rgba(102, 126, 234, 0.12), rgba(240, 68, 148, 0.14)),
        var(--main-bg-color, #323335);
    border-color: rgba(240, 68, 148, 0.35);
}

.pcd-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    background: linear-gradient(135deg,
            rgba(240, 240, 240, 1) 0%,
            rgba(250, 250, 250, 1) 100%);
    border: 3px solid rgba(0, 0, 0, 0.1);
    /* 增强图片框的阴影，提高对比度 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    /* transition 已移除 */
}

/* TikTok 风格：空白区域用模糊背景填充 */
.pcd-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px);
    transform: scale(1.15);
}

/* 灯箱打开时恢复小卡片的模糊背景效果（主题 imgbox-show 会移除所有 filter，此处覆盖恢复） */
body.imgbox-show .pcd-blur-bg {
    filter: blur(20px) !important;
    -webkit-filter: blur(20px) !important;
}

/* 视频/iframe 无缩略图时的模糊背景回退（渐变填充，保持 TikTok 风格） */
.pcd-blur-bg.pcd-blur-fallback {
    background-image: none !important;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.4) 0%,
            rgba(240, 68, 148, 0.5) 50%,
            rgba(102, 126, 234, 0.4) 100%);
    filter: none;
    transform: none;
}

body.imgbox-show .pcd-blur-bg.pcd-blur-fallback {
    filter: none !important;
}

.dark-theme .pcd-blur-bg.pcd-blur-fallback {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.35) 0%,
            rgba(240, 68, 148, 0.45) 50%,
            rgba(102, 126, 234, 0.35) 100%);
}

/* 夜间模式下的图片框 */
.dark-theme .pcd-image-item {
    background: linear-gradient(135deg,
            rgba(45, 46, 49, 1) 0%,
            rgba(40, 41, 44, 1) 100%);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* 图片悬停效果已禁用 */

.pcd-thumbnail {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    cursor: default;
    /* 增强图片对比度和亮度 */
    filter: brightness(1.02) contrast(1.08) saturate(1.05);
}

/* 视频项 - 与图片相同样式 */
.pcd-media-item[data-type="video"],
.pcd-media-item[data-type="iframe"] {
    position: relative;
    cursor: pointer;
}

.pcd-video-thumb {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block;
    background: transparent;
}

.pcd-iframe-thumb {
    position: relative;
    z-index: 1;
    min-height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 有 pcd-blur-bg 时背景透明以显示模糊效果，无缩略图时用渐变 */
    background: transparent;
}

.pcd-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 64px;
    height: 64px;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.pcd-video-play-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.pcd-media-item[data-type="video"]:hover .pcd-video-play-icon,
.pcd-media-item[data-type="iframe"]:hover .pcd-video-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.pcd-media-item[data-type="video"]:hover .pcd-video-play-icon polygon,
.pcd-media-item[data-type="iframe"]:hover .pcd-video-play-icon polygon {
    fill: var(--theme-color, #f04494);
}

/* 移动端播放图标加大，确保用户能识别视频 */
@media (max-width: 768px) {
    .pcd-video-play-icon {
        width: 72px;
        height: 72px;
    }
}

/* 视频全屏播放模态框 */
.pcd-video-modal {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background-color: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.pcd-video-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.pcd-video-close:hover {
    color: var(--theme-color, #f04494);
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(90deg);
}

.pcd-video-wrapper {
    width: 100%;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcd-video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.pcd-video-container video,
.pcd-video-container iframe {
    width: 100% !important;
    height: auto !important;
    min-height: 50vh;
    max-height: 85vh;
    display: block;
}

.pcd-video-container video {
    object-fit: contain;
}

.pcd-video-container iframe {
    aspect-ratio: 16/9;
    min-height: 400px;
}

/* 移动端视频播放优化 */
@media (max-width: 768px) {
    .pcd-video-modal {
        padding: 10px;
    }
    .pcd-video-container video,
    .pcd-video-container iframe {
        min-height: 40vh;
        max-height: 80vh;
    }
    .pcd-video-container iframe {
        min-height: 220px;
    }
}

/* 灯箱样式 */
.pcd-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(8px);
    overflow: auto;
}

.pcd-lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    filter: brightness(1.05) contrast(1.08);
}

.pcd-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.pcd-close:hover,
.pcd-close:focus {
    color: var(--theme-color, #f04494);
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(90deg);
}

.pcd-prev,
.pcd-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    user-select: none;
    z-index: 100000;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.pcd-prev {
    left: 20px;
}

.pcd-next {
    right: 20px;
}

.pcd-prev:hover,
.pcd-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-color: var(--theme-color, #f04494);
    color: var(--theme-color, #f04494);
    transform: scale(1.1);
}

.pcd-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
}

/* 响应式设计 - 移动端整体缩小，比例更协调 */
@media (max-width: 768px) {
    .pcd-container {
        padding: 8px 4px;
    }

    /* 所有大卡片统一缩小 */
    .pcd-card {
        margin-bottom: 8px;
        border-radius: 8px;
        border-width: 1px;
    }

    .pcd-card::before {
        border-radius: 8px;
    }

    .pcd-card-header {
        padding: 2px 10px;
        border-radius: 8px 8px 0 0;
    }

    .pcd-card-header h3 {
        font-size: 14px;
    }

    .pcd-card-header h3 i {
        margin-right: 4px;
    }

    .pcd-card-body {
        padding: 8px 10px;
        border-radius: 0 0 8px 8px;
    }

    /* 基本信息卡片 */
    .pcd-info-item {
        padding: 8px;
        margin-bottom: 5px;
        border-radius: 4px;
    }

    .pcd-label {
        min-width: 68px;
        font-size: 14px;
    }

    .pcd-value {
        font-size: 14px;
    }

    .pcd-price-item {
        padding: 8px !important;
    }

    .pcd-price {
        font-size: 18px !important;
    }

    /* 联系方式卡片 - 字体大小保持 14px/13px 不变 */
    .pcd-contact-content {
        padding: 10px;
        font-size: 14px;
        border-radius: 5px;
    }

    .pcd-contact-item {
        padding: 4px 0;
        font-size: 13px;
    }

    .pcd-contact-permission {
        font-size: 14px;
        margin-bottom: 6px;
    }

    /* 体验评价 / 综合介绍 */
    .pcd-experience-content {
        padding: 10px;
        font-size: 14px;
        border-radius: 5px;
    }

    /* 详情内容卡片 */
    .pcd-details-content {
        padding: 10px;
        font-size: 14px;
        border-radius: 5px;
    }

    .pcd-details-permission {
        padding: 8px 10px;
        font-size: 15px;
        margin-bottom: 10px !important;
    }

    .pcd-details-text {
        font-size: 14px;
    }

    /* 图片卡片 */
    .pcd-images-card .pcd-card-body {
        padding: 6px 8px;
    }

    .pcd-image-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        padding: 4px 0;
    }

    .pcd-image-item {
        border-width: 1px;
        border-radius: 5px;
    }

    .pcd-member-media-locked {
        min-height: 160px;
        padding: 24px 14px;
    }

    .pcd-member-media-title {
        font-size: 15px;
    }

    .pcd-member-media-desc {
        font-size: 12px;
        margin-bottom: 14px;
    }

    /* 复制按钮 */
    .pcd-copy-btn {
        height: 26px;
        padding: 0 8px;
        font-size: 13px;
    }

    .pcd-prev,
    .pcd-next {
        font-size: 26px;
        padding: 6px;
    }

    .pcd-close {
        font-size: 26px;
        top: 8px;
        right: 12px;
    }
}

/* 动画效果 - 简化版 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.pcd-card {
    animation: fadeIn 0.3s ease-out;
}

/* 全局优化：增强所有卡片文字的清晰度 */
.pcd-container * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 为所有卡片内容添加轻微的背景隔离 */
/* .pcd-card-body > * {
    position: relative;
} */

/* 增强夜间模式下的整体对比度 */
.dark-theme .pcd-card {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* 夜间模式卡片悬停效果已禁用 */

/* 
 * 下拉菜单层叠问题解决方案：
 * 1. 卡片不设置z-index，避免创建独立的层叠上下文
 * 2. 卡片头部和主体使用static定位，不创建新的层叠上下文
 * 3. 下拉菜单保持默认的z-index（主题已设置为1000），足够显示在卡片上方
 */
.pcd-card-header,
.pcd-card-body {
    position: static;
}

/* ============================================
 * 登录提示框样式 (v1.5.0)
 * ============================================ */

/* 提示框遮罩层 */
.pcd-login-notice {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
}

.pcd-login-notice.pcd-notice-show {
    opacity: 1;
    pointer-events: auto;
}

.pcd-member-notice {
    padding: 18px;
}

/* 提示框内容 */
.pcd-notice-content {
    background: var(--main-bg-color, #fff);
    border-radius: 16px;
    padding: 40px 30px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.pcd-login-notice.pcd-notice-show .pcd-notice-content {
    transform: scale(1);
}

.pcd-member-notice-content {
    max-width: 480px;
    padding-top: 34px;
    border: 1px solid var(--main-border-color, rgba(50,50,50,0.08));
}

.pcd-member-notice-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted-color, #888);
    font-size: 24px;
    line-height: 30px;
    cursor: pointer;
}

.pcd-member-notice-close:hover {
    background: var(--muted-bg-color, #f5f5f5);
    color: var(--key-color, #333);
}

.pcd-member-notice-icon {
    color: var(--theme-color, #f04494);
    margin-bottom: 16px;
}

/* 图标 */
.pcd-notice-icon {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1;
    animation: pcd-icon-pulse 2s ease-in-out infinite;
}

@keyframes pcd-icon-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 标题 */
.pcd-notice-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--key-color, #333);
    margin: 0 0 12px 0;
}

/* 消息文本 */
.pcd-notice-message {
    font-size: 15px;
    color: var(--main-color, #666);
    margin: 0 0 30px 0;
    line-height: 1.6;
}

/* 按钮容器 */
.pcd-notice-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* 按钮基础样式 */
.pcd-btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    flex: 1;
    max-width: 150px;
}

/* 主按钮 - 登录按钮 */
.pcd-btn-primary {
    background: #f04494;
    color: #fff;
    box-shadow: 0 2px 6px rgba(240, 68, 148, 0.3);
}

.pcd-btn-primary:hover {
    background: #e03484;
    box-shadow: 0 3px 8px rgba(240, 68, 148, 0.4);
}

.pcd-btn-primary:active {
    background: #d02474;
}

/* 次要按钮 - 关闭按钮 */
.pcd-btn-secondary {
    background: var(--muted-bg-color, #f5f5f5);
    color: var(--main-color, #666);
    border: 1px solid var(--main-border-color, #ddd);
}

.pcd-btn-secondary:hover {
    background: var(--main-border-color, #e5e5e5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pcd-btn-secondary:active {
    transform: translateY(0);
}

/* 夜间模式适配 */
.dark-theme .pcd-notice-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
                0 10px 30px rgba(0, 0, 0, 0.4);
}

.dark-theme .pcd-btn-secondary {
    background: var(--muted-bg-color, #2d2e31);
    border-color: var(--main-border-color, rgba(114,114,114,0.2));
}

.dark-theme .pcd-btn-secondary:hover {
    background: var(--main-bg-color, #323335);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .pcd-notice-content {
        padding: 30px 20px 20px;
    }
    
    .pcd-notice-icon {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .pcd-notice-title {
        font-size: 20px;
    }
    
    .pcd-notice-message {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .pcd-notice-buttons {
        flex-direction: column;
    }
    
    .pcd-btn {
        max-width: 100%;
        width: 100%;
    }
}

/* ============================================
 * VIP 隐藏内容提示样式 (v1.6.0)
 * ============================================ */

.pcd-vip-hidden-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px;
    border-radius: 12px;
    background: linear-gradient(145deg,
            rgba(102, 126, 234, 0.06) 0%,
            rgba(240, 68, 148, 0.08) 50%,
            rgba(255, 193, 7, 0.06) 100%);
    border: 1.5px dashed rgba(240, 68, 148, 0.3);
    position: relative;
    overflow: hidden;
}

.pcd-vip-hidden-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%,
            rgba(102, 126, 234, 0.05) 0%,
            transparent 50%),
        radial-gradient(ellipse at 70% 80%,
            rgba(240, 68, 148, 0.05) 0%,
            transparent 50%);
    pointer-events: none;
    animation: pcd-vip-shimmer 6s ease-in-out infinite;
}

@keyframes pcd-vip-shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(3deg); }
}

.dark-theme .pcd-vip-hidden-box {
    background: linear-gradient(145deg,
            rgba(102, 126, 234, 0.1) 0%,
            rgba(240, 68, 148, 0.12) 50%,
            rgba(255, 193, 7, 0.08) 100%);
    border-color: rgba(240, 68, 148, 0.35);
}

.pcd-vip-hidden-icon {
    position: relative;
    z-index: 1;
    color: var(--theme-color, #f04494);
    margin-bottom: 16px;
    opacity: 0.85;
}

.pcd-vip-hidden-icon svg {
    filter: drop-shadow(0 2px 6px rgba(240, 68, 148, 0.3));
}

.pcd-vip-hidden-title {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 700;
    color: var(--key-color, #333);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.pcd-vip-hidden-desc {
    position: relative;
    z-index: 1;
    font-size: 13px;
    color: var(--muted-color, #888);
    margin-bottom: 20px;
}

.pcd-vip-hidden-features {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.pcd-vip-feature {
    font-size: 12px;
    color: var(--main-color, #666);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pcd-vip-feature i {
    color: #22c55e;
    font-size: 13px;
}

.dark-theme .pcd-vip-feature i {
    color: #4ade80;
}

.pcd-vip-hidden-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.pcd-vip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    line-height: 1.4;
    white-space: nowrap;
}

.pcd-vip-btn i {
    font-size: 14px;
}

.pcd-vip-btn-primary {
    background: linear-gradient(135deg, #f04494 0%, #e03484 50%, #c92070 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(240, 68, 148, 0.35),
        0 2px 6px rgba(240, 68, 148, 0.2);
}

.pcd-vip-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 68, 148, 0.45),
        0 3px 10px rgba(240, 68, 148, 0.3);
    color: #fff !important;
}

.pcd-vip-btn-primary:active {
    transform: translateY(0);
}

.pcd-vip-btn-secondary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3),
        0 2px 6px rgba(245, 158, 11, 0.15);
}

.pcd-vip-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4),
        0 3px 10px rgba(245, 158, 11, 0.25);
    color: #78350f !important;
}

.pcd-vip-btn-secondary:active {
    transform: translateY(0);
}

.dark-theme .pcd-vip-btn-secondary {
    color: #451a03 !important;
}

@media (max-width: 768px) {
    .pcd-vip-hidden-box {
        padding: 24px 16px;
    }

    .pcd-vip-hidden-icon svg {
        width: 32px;
        height: 32px;
    }

    .pcd-vip-hidden-title {
        font-size: 16px;
    }

    .pcd-vip-hidden-desc {
        font-size: 12px;
    }

    .pcd-vip-hidden-features {
        gap: 8px 12px;
    }

    .pcd-vip-feature {
        font-size: 11px;
    }

    .pcd-vip-btn {
        padding: 9px 22px;
        font-size: 13px;
    }
}