/* ── post.php 独有样式 ── */

/* ── post.php 独有样式 ── */

/* ========== 个人资料区域 - Grid布局 ========== */
.profile-bar {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    position: relative;
    overflow: hidden;
}
.profile-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b9d, #ff4d6d);
}

/* 头像 - 第一行第一列 */
.profile-bar > .avatar-small {
    grid-column: 1;
    grid-row: 1;
    width: 60px; 
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 用户信息 - 第一行第二列 */
.profile-bar > .user-info-main {
    grid-column: 2;
    grid-row: 1;
    display: flex; 
    flex-direction: column; 
    gap: 4px;
    justify-content: center;
    min-width: 0;
}

.user-name-row { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}
.username-text { 
    font-size: 18px; 
    font-weight: 700; 
    color: #333; 
    margin: 0; 
}
.verify-badge { 
    color: #1890ff; 
    font-size: 16px; 
}
.vip-tag { 
    background: linear-gradient(135deg, #ffd700, #ffb700); 
    color: #fff; 
    padding: 2px 8px; 
    border-radius: 10px; 
    font-size: 11px; 
    font-weight: 600; 
}
.user-meta-row { 
    display: flex; 
    gap: 12px; 
    color: #666; 
    font-size: 13px; 
    flex-wrap: wrap; 
}
.user-meta-row span { 
    display: flex; 
    align-items: center; 
    gap: 4px; 
}

/* 按钮区域 - 第二行横跨两列 */
.profile-bar > .quick-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex; 
    justify-content: flex-start; 
    align-items: center;
    gap: 8px; 
    width: 100%; 
    padding-top: 8px;
    flex-wrap: nowrap;
}

.quick-actions .btn-icon { 
    justify-content: center; 
    min-width: auto; 
    padding: 8px 12px; 
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    border-radius: 8px;
    flex: 0 0 auto;
    height: auto;
    line-height: 1.2;
    white-space: nowrap;
}

/* ========== 修改后的三栏布局 - 与首页保持一致 ========== */
.post-page-layout {
    display: flex;
    align-items: stretch;
    gap: 24px;
    min-height: calc(100vh - 200px);
    width: 100%;            /* 填满父容器 */
    min-width: 0;           /* 关键：防止 flex 子项撑开父容器 [^43^] */
    box-sizing: border-box;
}

/* 左侧边栏 - 改为 flex 子项 */
.post-sidebar-left {
    width: 240px;
    flex-shrink: 0;         /* 不收缩 */
    flex-grow: 0;           /* 不增长 */
}

.post-sidebar-left-inner {
    position: sticky;
    top: 80px;
}

/* 右侧边栏 - 改为 flex 子项 */
.post-sidebar-right {
    width: 320px;
    flex-shrink: 0;         /* 不收缩 */
    flex-grow: 0;           /* 不增长 */
}

.post-sidebar-right-inner {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 中间主内容区 */
.post-main-content {
    flex: 1;                /* 占据剩余空间 */
    min-width: 0;           /* 关键：防止内容溢出 [^43^] */
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;       /* 防止子元素溢出 */
}

/* ========== 原有样式保持不变 ========== */






.username-text  { font-size: 20px; font-weight: 700; color: #333; margin: 0; }
.verify-badge   { color: #1890ff; font-size: 16px; }
.vip-tag        { background: linear-gradient(135deg, #ffd700, #ffb700); color: #fff; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; }

.user-meta-row span { display: flex; align-items: center; gap: 4px; }


.btn-icon {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 20px;
    border: 1px solid #e0e0e0; background: #fff; color: #666;
    font-size: 13px; cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.btn-icon:hover { border-color: #ff6b9d; color: #ff6b9d; transform: translateY(-1px); }
.btn-icon.primary { background: linear-gradient(135deg, #ff6b9d, #ff4d6d); color: #fff; border-color: transparent; }
.btn-icon.primary:hover { box-shadow: 0 4px 12px rgba(255,107,157,0.3); }
.btn-icon:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.btn-followed { background: linear-gradient(135deg, #ff6b9d, #ff4d6d) !important; color: #fff !important; border-color: transparent !important; }
.btn-followed:hover { box-shadow: 0 4px 12px rgba(255,107,157,0.3); color: #fff !important; }

.card {
    background: #ffffff; border-radius: 16px; padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08); border: 1px solid #f0f0f0;
    position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #ff6b9d, #ff4d6d); }
.card-title {
    font-size: 16px; font-weight: 600; color: #333;
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0;
    display: flex; align-items: center; gap: 8px;
}
.card-title i { color: #ff6b9d; }

.photo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.photo-item { aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; cursor: pointer; background: #f5f5f5; transition: all 0.3s; }
.photo-item:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.photo-item:hover img { transform: scale(1.05); }
.empty-state { text-align: center; padding: 40px; color: #999; }
.empty-state i { font-size: 48px; margin-bottom: 10px; display: block; color: #ddd; }

.detail-list { display: flex; flex-direction: column; }
.detail-row { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.detail-row:last-child { border-bottom: none; }
.detail-row .label { width: 100px; color: #999; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.detail-row .label i { color: #ff6b9d; width: 16px; }
.detail-row .value { flex: 1; color: #333; font-size: 14px; font-weight: 500; }
.detail-row .intro { margin-top: 8px; color: #666; line-height: 1.6; font-size: 14px; }

.contact-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.contact-status { background: #f0fdf4; color: #16a34a; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-line { display: flex; align-items: center; padding: 12px 16px; background: #fafafa; border-radius: 12px; gap: 12px; }
.contact-line.blurred { filter: blur(4px); user-select: none; }
.contact-type { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #666; min-width: 80px; }
.contact-val  { flex: 1; font-size: 14px; color: #333; font-weight: 500; }
.btn-copy { padding: 6px 12px; border: 1px solid #e0e0e0; background: #fff; border-radius: 6px; font-size: 12px; cursor: pointer; transition: all 0.3s; }
.btn-copy:hover { border-color: #ff6b9d; color: #ff6b9d; }

.vip-upgrade-notice {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 2px solid #f59e0b; border-radius: 12px; padding: 20px; text-align: center; margin-top: 20px;
}
.vip-upgrade-title { font-size: 16px; font-weight: 600; color: #d97706; margin-bottom: 8px; }
.vip-upgrade-text  { font-size: 13px; color: #92400e; margin-bottom: 16px; line-height: 1.5; }
.vip-upgrade-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff; padding: 10px 24px; border-radius: 20px;
    text-decoration: none; font-size: 14px; font-weight: 500;
    transition: all 0.3s; border: none; cursor: pointer;
}
.vip-upgrade-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(245,158,11,0.3); }

.reply-title { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.reply-title i { color: #ff6b9d; }
.reply-form { background: #fafafa; border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.reply-textarea { width: 100%; min-height: 80px; padding: 12px; border: 1px solid #e0e0e0; border-radius: 8px; resize: vertical; font-size: 14px; box-sizing: border-box; }
.reply-textarea:focus { outline: none; border-color: #ff6b9d; }
.reply-submit-btn { background: linear-gradient(135deg, #ff6b9d, #ff4d6d); color: #fff; border: none; padding: 8px 20px; border-radius: 20px; font-size: 14px; cursor: pointer; transition: all 0.3s; }
.reply-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,107,157,0.3); }
.reply-login-tip { text-align: center; padding: 30px; background: #fafafa; border-radius: 12px; color: #999; font-size: 14px; }
.reply-login-tip a { color: #ff6b9d; text-decoration: none; font-weight: 500; }
.reply-list { display: flex; flex-direction: column; gap: 16px; }
.reply-item { display: flex; gap: 12px; padding: 16px; background: #fafafa; border-radius: 12px; }
.reply-avatar  { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.reply-content { flex: 1; min-width: 0; }
.reply-header  { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.reply-username  { font-weight: 600; color: #333; font-size: 14px; }
.reply-vip-badge { background: linear-gradient(135deg, #ffd700, #ffb700); color: #fff; padding: 2px 6px; border-radius: 6px; font-size: 10px; }
.reply-time  { color: #999; font-size: 12px; margin-left: auto; }
.reply-text  { color: #666; font-size: 14px; line-height: 1.5; }
.reply-empty { text-align: center; padding: 40px; color: #999; font-size: 14px; }
.reply-empty i { font-size: 32px; margin-bottom: 10px; display: block; }

.tip-card { background: #ffffff; border-radius: 16px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); border: 1px solid #f0f0f0; }
.tip-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.tip-title i { color: #ff6b9d; }
.tip-list { list-style: none; padding: 0; margin: 0; }
.tip-list li { padding: 10px 0 10px 16px; color: #666; font-size: 13px; border-bottom: 1px solid #f5f5f5; position: relative; }
.tip-list li:last-child { border-bottom: none; }
.tip-list li::before { content: '•'; color: #ff6b9d; position: absolute; left: 0; }
.action-row { display: flex; gap: 10px; }
.city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.city-tag-sm { padding: 8px 12px; border: 1px solid #e0e0e0; background: #fff; border-radius: 20px; font-size: 13px; color: #666; cursor: pointer; transition: all 0.3s; text-decoration: none; display: block; text-align: center; }
.city-tag-sm:hover { border-color: #ff6b9d; color: #ff6b9d; background: #fff5f7; }
.recommend-post-list { display: flex; flex-direction: column; gap: 12px; }
.recommend-post { display: flex; gap: 12px; padding: 12px; background: #fafafa; border-radius: 12px; text-decoration: none; transition: all 0.3s; }
.recommend-post:hover { background: #fff5f7; transform: translateX(4px); }
.recommend-post img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.recommend-info { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.recommend-title { font-size: 14px; color: #333; font-weight: 500; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recommend-meta { font-size: 12px; color: #ff6b9d; }

.mobile-bottom-section { display: none; margin-top: 20px; flex-direction: column; gap: 20px; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 99999; display: none; justify-content: center; align-items: center; }
.modal-overlay.active { display: flex !important; }
.modal-content { background: white; border-radius: 16px; padding: 24px; max-width: 90%; width: 400px; max-height: 80vh; overflow-y: auto; position: relative; z-index: 100000; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.modal-header { font-size: 18px; font-weight: 600; margin-bottom: 16px; color: #333; }
.modal-body { color: #666; line-height: 1.6; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: none; background: #f5f5f5; border-radius: 50%; cursor: pointer; font-size: 18px; color: #999; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: #eee; color: #666; }

/* ── 响应式 ── */

/* 大屏：三栏布局 */
@media (max-width: 1300px) {
    .post-sidebar-right { display: none; }
    .mobile-bottom-section { display: flex; }
}

/* 中屏：两栏布局（保留左侧边栏） */
@media (max-width: 992px) {
    .post-page-layout {
        flex-direction: column;
    }
    .post-sidebar-left {
        width: 100%;
        order: -1;  /* 移到最上面 */
    }
    .post-sidebar-left-inner {
        position: static;  /* 取消 sticky */
    }
    .post-main-content {
        width: 100%;
    }
}

/* 小屏：单栏布局 */
@media (max-width: 768px) {
    .main-wrapper { padding: 12px; }
    .main-frame { padding: 16px; border-radius: 12px; }
    .profile-bar { flex-direction: column; text-align: center; padding: 20px; }
    .quick-actions { width: 100%; grid-template-columns: repeat(3, 1fr); }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .detail-row .label { width: auto; }
    .modal-content { width: 90%; margin: 20px; }
    .action-row { flex-direction: column; }
    .action-row .btn-icon { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .post-card          { height: 120px; }
    .post-image-wrapper { width: 96px; height: 100px; }
    .post-title         { font-size: 13px; }
}

/* PC端：保持原有样式，标签和内容左右排列 */
.detail-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    min-width: 100px;
    flex-shrink: 0;
}

.detail-row .label i {
    color: #ff6b9d;
    width: 16px;
    text-align: center;
}

.detail-row .value {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.detail-row .intro {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

/* 块级显示的行（个性签名、详细介绍） */
.detail-row-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.detail-row-block .label {
    margin-bottom: 0;
}

/* ============================================
   手机端详细资料 - 精致美化版
   ============================================ */
@media (max-width: 768px) {
    .detail-list {
        padding: 8px 0;
    }

    .detail-row {
        display: flex;
        align-items: center;
        padding: 14px 0;
        border-bottom: 1px solid #f0f0f0;
        gap: 16px;
    }

    .detail-row:last-child {
        border-bottom: none;
    }

    /* 短内容行 */
    .detail-row:not(.detail-row-block) {
        flex-direction: row;
        justify-content: flex-start;
    }

    .detail-row:not(.detail-row-block) .label {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 80px;
        font-size: 14px;
        color: #888;
        font-weight: 400;
    }

    .detail-row:not(.detail-row-block) .label i {
        font-size: 15px;
        width: 20px;
        text-align: center;
    }

    .detail-row:not(.detail-row-block) .value {
        font-size: 15px;
        color: #222;
        font-weight: 500;
        letter-spacing: 0.3px;
    }

    /* 块级内容（个性签名、详细介绍） */
    .detail-row-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 18px 0;
        background: #fafafa;
        margin: 8px -12px;
        padding: 16px 12px;
        border-radius: 12px;
        border: none;
    }

    .detail-row-block .label {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: #666;
        font-weight: 500;
    }

    .detail-row-block .label i {
        font-size: 15px;
        color: #ff6b9d;
    }

    .detail-row-block .intro {
        width: 100%;
        padding-left: 30px;
        font-size: 14px;
        line-height: 1.8;
        color: #444;
        white-space: pre-wrap;
        word-break: break-word;
    }

    /* 第一个块级元素上边距小一点 */
    .detail-row-block:first-of-type {
        margin-top: 4px;
    }
}
/* 详细介绍独立卡片样式 */
.content-detail-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    background: linear-gradient(135deg, #fff5f7 0%, #ffe0e6 100%);
    border-radius: 16px;
    padding: 20px;
    margin-top: 16px;
    border: 2px solid #ffc9d3;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.1);
}

.content-detail-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #ff4d6d;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px dashed #ffc9d3;
}

.content-detail-header i {
    font-size: 18px;
    color: #ff6b9d;
}

.content-detail-body {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    line-height: 1.9;
    color: #444;
    font-size: 15px;
}

.content-detail-body p {
    margin: 0 0 14px 0;
    line-height: 1.9;
    color: #555;
}

.content-detail-body p:last-child {
    margin-bottom: 0;
}

.content-detail-body br {
    line-height: 2;
    display: block;
    content: "";
    margin-top: 8px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .content-detail-wrapper {
        padding: 16px;
        margin: 12px 0;
        border-radius: 14px;
    }
    
    .content-detail-header {
        font-size: 15px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .content-detail-body {
        padding: 18px;
        font-size: 14px;
        line-height: 1.8;
    }
    
    .content-detail-body p {
        margin-bottom: 12px;
        line-height: 1.8;
    }
}
/* ============================================
   响应式调整
   ============================================ */
@media (max-width: 768px) {
    /* 手机端按钮更小 */
    .profile-bar > .quick-actions {
        gap: 4px;
    }
    .quick-actions .btn-icon {
        padding: 6px 8px;
        font-size: 10px;
        min-width: 52px;
    }

    /* 手机端照片3列 */
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

@media (min-width: 769px) {
    /* 电脑端按钮间距 */
    .profile-bar > .quick-actions {
        gap: 12px;
    }
    .quick-actions .btn-icon {
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* 楼主标识 */
.reply-owner-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ff6b9d, #ff4d6d);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 600;
}

/* ============================================
   回帖模糊遮挡 - 前6字清晰，后续模糊
   ============================================ */

.reply-text-blurred {
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px dashed #e0e0e0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    overflow: hidden;
    min-height: 40px;
}

/* 前几个字：正常清晰显示 */
.visible-part {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 后续内容：模糊处理 */
.blurred-part {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    user-select: none;
    -webkit-user-select: none;
    white-space: nowrap;
    overflow: hidden;
    max-width: 200px;   /* 限制模糊部分宽度，防止撑开 */
    text-overflow: clip;
}

/* 右侧渐变收尾 */
.reply-text-blurred::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 120px;
    background: linear-gradient(
        to right,
        rgba(248,249,250,0) 0%,
        rgba(248,249,250,0.85) 60%,
        rgba(248,249,250,1) 100%
    );
    pointer-events: none;
}

/* 仅楼主可见提示 */
.blur-overlay {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #999;           /* 加深，原来是 #bbb */
    font-weight: 500;      /* 加粗一点 */
    pointer-events: none;
    z-index: 3;            /* 提高层级，确保在渐变遮罩之上 */
    white-space: nowrap;
    background: rgba(248,249,250,0.98);   /* 背景更不透明 */
    padding: 3px 8px;
    border-radius: 8px;
    box-shadow: -4px 0 8px rgba(248,249,250,1);  /* 左侧晕影隔离模糊层 */
}

.blur-overlay i {
    color: #ff6b9d;   /* 改成主题粉色，更显眼 */
    font-size: 11px;
}

/* ============================================
   图片悬停小提示
   ============================================ */
.photo-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.photo-hint {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.photo-hint i {
    color: #FFD700;
    font-size: 11px;
}

.photo-item:hover .photo-hint {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.photo-item.vip-access:hover .photo-hint {
    opacity: 0;
}

/* ============================================
   小型VIP升级确认弹窗
   ============================================ */
.mini-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

.mini-modal {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    max-width: 320px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.mini-modal-overlay.active .mini-modal {
    transform: scale(1);
}

.mini-modal-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 24px;
}

.mini-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.mini-modal-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.mini-modal-actions {
    display: flex;
    gap: 10px;
}

.mini-modal-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mini-modal-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mini-modal-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mini-modal-btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.mini-modal-btn-secondary:hover {
    background: #eee;
    color: #333;
}

.mini-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mini-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #666;
}

/* 匿名回帖样式 */
.anonymous-avatar {
    opacity: 0.7;
    filter: grayscale(30%);
}

.anonymous-name {
    color: #888 !important;
    font-style: italic;
}

.anonymous-checkbox {
    transition: all 0.2s;
}

.anonymous-checkbox:hover {
    color: #ff6b9d;
}

.anonymous-checkbox input[type="checkbox"]:checked + span {
    color: #ff6b9d;
    font-weight: 500;
}