/* 悬赏详情页样式 */
.reward-detail .card-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 14px; /* 进一步减少padding */
}

.reward-tag {
    display: inline-block;
    background-color: #ffc107;
    color: #333;
    padding: 2px 6px; /* 进一步减少padding */
    border-radius: 3px; /* 减少圆角 */
    font-weight: bold;
    margin-bottom: 3px; /* 大幅减少margin，减少赏金标签和日期之间的空隙 */
    font-size: 0.85rem; /* 稍微减小字体 */
}

.detail-title {
    margin: 0 0 6px 0; /* 进一步减少底部margin */
    font-size: 1.3rem; /* 进一步减小字体 */
}

.detail-meta {
    display: flex;
    gap: 10px; /* 进一步减少gap */
    color: #666;
    font-size: 0.85rem; /* 稍微减小字体 */
    padding: 3px 0; /* 大幅减少padding，进一步压缩赏金标签和日期之间的空隙 */
}

.detail-content {
    padding: 10px 0; /* 进一步减少padding */
    line-height: 1.5; /* 减少行高 */
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px; /* 进一步减少margin */
}

.contact-info {
    background-color: #f9f9f9;
    padding: 8px 10px; /* 进一步减少padding */
    border-radius: 3px; /* 减少圆角 */
    margin-bottom: 10px; /* 进一步减少margin */
}

.contact-info .label {
    font-weight: bold;
    margin-bottom: 3px; /* 进一步减少margin */
}

.contact-info .value {
    font-size: 0.9rem; /* 稍微减小字体 */
}

/* 详细页面卡片优化 - 减少空白空间 */
.card.lost-detail,
.card.reward-detail {
    margin-bottom: 12px; /* 进一步减少底部margin */
}

.card.lost-detail .card-header,
.card.reward-detail .card-header {
    padding: 10px 14px; /* 进一步减少padding */
}

.card.lost-detail .card-body,
.card.reward-detail .card-body {
    padding: 10px 14px; /* 进一步减少card-body的padding */
}

/* 页面标题优化 */
.page-title {
    font-size: 1.5rem; /* 稍微减小字体 */
    font-weight: bold;
    margin: 12px 0 16px 0; /* 进一步减少margin */
    color: #333;
    text-align: center;
}

/* 返回按钮容器优化 */
.back-button-container {
    margin: 12px 0 6px 0; /* 进一步减少margin */
}

/* 公用图标样式 */
.icon-clock, .icon-user, .icon-contact {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: text-bottom;
    background: center/contain no-repeat;
}

/* 基础布局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    padding-top: 30px;
}

.container {
    max-width: 800px;
    margin: 8px auto; /* 减少顶部和底部margin */
    padding: 0 12px; /* 减少左右padding */
}

/* 个人板块专用样式 */
.container.profile-page {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #2c3e50;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    transform: translateY(0);
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.navbar.navbar-compact {
    padding: 8px 20px;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    z-index: 2;
}

.navbar a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
}

.navbar a:hover {
    color: #3498db;
    background-color: rgba(255,255,255,0.1);
}

.navbar a.active {
    color: #3498db;
    font-weight: bold;
    position: relative;
}


/* 登录按钮样式 */
.login-btn {
    background-color: #3498db;
    color: #fff !important;
    padding: 6px 16px !important;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #2980b9 !important;
    color: #fff !important;
}

/* 为详情页面添加顶部间距 */
body.detail-page {
    padding-top: 0;
}

body.detail-page.navbar-hidden {
    padding-top: 0;
}

/* 为投稿、个人、审核、操作日志页面添加顶部间距 */
.post-bg {
    padding-top: 50px !important; /* 减少顶部padding */
}

.profile-container {
    padding: 20px;
}

/* 审核页面样式 */
.container .audit-tabs {
    margin-top: 40px !important; /* 减少顶部margin */
}

/* 操作日志页面样式 */
.container h2:first-of-type {
    margin-top: 40px !important; /* 减少顶部margin */
}

/* 审核详情页面样式 */
.container .page-title {
    margin-top: 40px !important; /* 减少顶部margin */
}

/* 互动提示动画 */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 通用卡片样式 */
.card {
    background: white;
    border-radius: 6px; /* 减少圆角 */
    box-shadow: 0 1px 6px rgba(0,0,0,0.08); /* 减少阴影 */
    margin-bottom: 16px; /* 减少底部margin */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px); /* 减少悬停效果 */
    box-shadow: 0 3px 10px rgba(0,0,0,0.12); /* 减少悬停阴影 */
}

.card-header {
    background-color: #f8f9fa;
    padding: 12px 16px; /* 减少padding */
    border-bottom: 1px solid #eaeaea;
}

.card-body {
    padding: 18px; /* 减少padding */
}

/* 页面标题样式调整 */
.page-title {
    font-size: 22px; /* 稍微减小字体 */
    color: #2c3e50;
    margin-bottom: 16px; /* 减少底部margin */
    padding-bottom: 8px; /* 减少底部padding */
    border-bottom: 2px solid #3498db;
    margin-top: 0;
}

/* 帖子/悬赏卡片通用样式 */
.post, .reward-card, .lost-card {
    cursor: pointer;
    position: relative;
}

.post-title, .detail-title, .card-title {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 12px; /* 减少底部margin */
    font-weight: 600;
}

.post-content {
    color: #555;
    line-height: 1.6; /* 减少行高 */
    margin-bottom: 8px; /* 减少底部margin */
}

/* 元数据样式 */
.post-meta {
    display: flex;
    align-items: center;
    color: #7f8c8d;
    font-size: 13px; /* 稍微减小字体 */
    margin-top: 12px; /* 减少顶部margin */
    gap: 12px; /* 减少gap */
}

.post-meta span {
    display: flex;
    align-items: center;
}

/* 图标样式 */
.icon-calendar::before,
.icon-user::before,
.icon-eye::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
}

.icon-calendar::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iIzJjM2U1MCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCI+PHBhdGggZD0iTTE5IDNoLTEuMDFhMSAxIDAgMDAtLjk5IDEuMXYxSDZ2LTFBNCA0IDAgMDAyIDR2MTRjMCAyLjIxIDEuNzk0IDQgNCA0aDEyYzIuMjA2IDAgNC0xLjc5IDQtNHYtMTRhNCA0IDAgMDAtNC00em0tMiA0djJIN1Y3aDEwdjF6TTUgNWEyIDIgMCAwMTIgMmgyYTIgMiAwIDAxMi0yaDJhMiAyIDAgMDEyIDJ2MmgtMTJWNXpNMTkgMTlhMiAyIDAgMDEtMiAyaC0xMmEyIDIgMCAwMS0yLTJ2LThoMTZ2OHoiLz48L3N2Zz4=');
}

.icon-user::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iIzJjM2U1MCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCI+PHBhdGggZD0iTTEyIDEyYzIuMjEgMCA0LTEuNzkgNC00cy0xLjc5LTQtNC00LTQgMS43OS00IDQgMS43OSA0IDQgNHptMCAyYy0yLjY3IDAtOCAxLjM0LTggNHYyaDE2di0yYzAtMi42Ni01LjMzLTQtOC00eiIvPjwvc3ZnPg==');
}

.icon-eye::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iIzJjM2U1MCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCI+PHBhdGggZD0iTTEyIDQuNWMtNi45MyAwLTEyIDcuNS0xMiA3LjVzNS4wNyA3LjUgMTIgNy41IDEyLTcuNSAxMi03LjUtNS4wNy03LjUtMTItNy41em0wIDEzYy00LjQgMC04LTMuNi04LThzMy42LTggOC04IDggMy42IDggOC0zLjYgOC04IDh6bTAtM2MtMi43NiAwLTUtMi4yNC01LTVzMi4yNC01IDUtNSA1IDIuMjQgNSA1LTIuMjQgNS01IDV6bTAtNmMtMS4xIDAtMi0uOS0yLTJzLjktMiAyLTIgMiAuOSAyIDItLjkgMi0yIDJ6Ii8+PC9zdmc+');
}

/* 悬赏标签样式 */
.reward-tag {
    background-color: #e19756;
    color: white;
    padding: 5px 12px;
    border-radius: 16px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

/* 详情页样式 */
.detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #7f8c8d;
}

.detail-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    line-height: 1.8;
}

.detail-content p {
    white-space: pre-wrap ; /* 保持原有换行格式 */
    word-wrap: break-word ; /* 防止长文本溢出 */
}

.contact-info {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    border-left: 4px solid #3498db;
}

.contact-info strong {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
}

/* 无数据样式 */
.no-items {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 20px 0;
    color: #7f8c8d;
    font-size: 14px;
}

/* 卡片容器 */
.posts-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 发布成功页容器样式 */
.success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

/* 成功卡片样式 */
.success-container .card {
    text-align: center;
    padding: 40px 30px;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    margin: 30px auto;
}

/* 成功图标样式 */
.success-icon svg {
    width: 80px;
    height: 80px;
    fill: #28a745;
    margin-bottom: 25px;
    animation: pulse 1.5s infinite ease-in-out;
}

/* 标题样式 */
.success-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 消息文本样式 */
.success-message {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

/* 按钮组容器 */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* 通用按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    min-width: 150px;
    border: none;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
}

/* 按钮图标样式 */
.btn svg {
    width: 22px;
    height: 22px;
    fill: white;
    margin-right: 8px;
}

/* 不同按钮的颜色方案 */
.btn-continue {
    background: #3498db;
}

.btn-profile {
    background: #9b59b6;
}

.btn-browse {
    background: #27ae60;
}

/* 按钮悬停效果 */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-continue:hover {
    background: #2980b9;
}

.btn-profile:hover {
    background: #8e44ad;
}

.btn-browse:hover {
    background: #219653;
}

/* 动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

/* 用户中心布局 */
.profile-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
}

/* 提示信息样式 */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.alert-error {
    background: #fdecea;
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

.alert-success {
    background: #e9f7ef;
    color: #27ae60;
    border-left: 4px solid #2ecc71;
}

/* 表单样式 */
.profile-form .form-group {
    margin-bottom: 20px;
}

.profile-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.profile-form .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.profile-form .form-control:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* 按钮样式 */
.profile-form button {
    margin-top: 10px;
    padding: 12px 24px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.profile-form button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* 用户信息展示 */
.user-info-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 25px;
}

.info-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.info-label {
    font-weight: 600;
    min-width: 120px;
}

/* 审核页全局样式增强 */
.audit-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

/* 待审卡片样式 */
.audit-item {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: white;
    transition: transform 0.3s ease;
}

.audit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 类型徽章 */
.post-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-right: 10px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.badge-normal {
    background: linear-gradient(145deg, #3498db, #2980b9);
}

.badge-reward {
    background: linear-gradient(145deg, #e67e22, #d35400);
}

.badge-lost {
    background: linear-gradient(145deg, #1abc9c, #16a085);
}

/* 元数据样式 */
.audit-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.post-time {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.post-time i {
    margin-right: 6px;
}

.author-info {
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #34495e;
    display: flex;
    align-items: center;
}

/* 内容预览 */
.post-preview {
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

.post-preview-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.post-preview-content {
    color: #555;
    line-height: 1.6;
    padding: 8px 0;
}

.info-label {
    font-weight: 500;
    margin-right: 8px;
    color: #7f8c8d;
}

/* 操作按钮 */
.audit-actions {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.btn-approve, .btn-reject {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-approve {
    background: linear-gradient(to right, #2ecc71, #27ae60);
}

.btn-reject {
    background: linear-gradient(to right, #e74c3c, #c0392b);
}

.btn-approve:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3);
}

.btn-reject:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

ul.pagination {
    display: flex;
    list-style: none;
    padding: 8px;
    margin: 0;
    gap: 8px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    justify-content: center;
    width: fit-content;
}

ul.pagination li {
    flex: none;
}

/* Capsule Tabs for audit page */
.audit-tabs .audit-tab {
    padding: .4rem 1.2rem;
    border: 1px solid #3e5374;
    border-radius: 9999px;
    color: #3e5374;
    text-decoration: none;
    font-weight: 500;
    transition: .2s;
}

.audit-tabs .audit-tab:hover {
    background: #0d6efd10;
}

.audit-tabs .audit-tab.active {
    background: #3e5374;
    color: #fff;
}

/* audit capsule tabs */
.audit-tab {
    padding: .4rem 1.4rem;
    border: 1px solid #0d6efd;
    border-radius: 9999px;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    transition: .2s;
}

.audit-tab:hover {
    background: #0d6efd10;
}

.audit-tab.active {
    background: #0d6efd;
    color: #fff;
}

/* 让 tabs 与列表留出空隙 */
.audit-tabs {
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

/* audit action buttons */
.btn {
    display: inline-block;
    padding: .4rem 1.2rem;
    border-radius: .25rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.btn-success {
    background: #3d774a;
    color: #fff;
}

.btn-danger {
    background: #9e3e48;
    color: #fff;
}

.btn-outline-secondary {
    background: #fff;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: #fff;
}

.meta-info,
.text-muted.small,
.post-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 560;
    color: #34495e;
    margin-top: 10px;
}

/* 图标略微上移 */
.icon-calendar::before,
.icon-user::before {
    position: relative;
    top: -2px;
}

/* 去掉标题下划线 */
.card-title,
.card-title > a {
    margin-top: 0;
    font-size: 1.2rem;
    color: #34495e;
    font-weight: 700;
    text-decoration: none;
}

/* lost / reward 卡片内容贴边 */
.lost-card,
.reward-card {
    padding: 15px 20px;
}

ul.pagination {
    justify-content: center !important;
    width: 100%;
}

/* 个人中心样式 */
.profile-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
}

/* 个人页面帖子卡片样式 */
.container.profile-page .card.post {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.container.profile-page .card.post:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.container.profile-page .card-body {
    padding: 20px;
}

.container.profile-page .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
}

.container.profile-page .post-content {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.container.profile-page .post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #8e8e93;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.container.profile-page .post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.container.profile-page .reward-tag {
    background: linear-gradient(135deg, #ff9500, #ff8c00);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.container.profile-page .badge-lost {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.container.profile-page .badge-normal {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-actions {
    display: flex;
    gap: 12px;
    margin-top: 0;
}

.post-actions .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.post-actions .btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
    background: transparent;
}

.post-actions .btn-outline-primary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-1px);
}

.post-actions .btn-outline-danger {
    border: 2px solid #dc3545;
    color: #dc3545;
    background: transparent;
}

.post-actions .btn-outline-danger:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-outline-primary {
    background: transparent;
    color: #3498db;
    border: 1px solid #3498db;
}

.btn-outline-primary:hover {
    background: #3498db;
    color: white;
}

.btn-outline-danger {
    background: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.btn-outline-danger:hover {
    background: #e74c3c;
    color: white;
}

.post-status {
    margin-left: auto;
}

.status-pending {
    background: linear-gradient(135deg, #f39c12, #e67e22) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(243, 156, 18, 0.4) !important;
    display: inline-block !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    border: none !important;
    text-decoration: none !important;
}

.status-approved {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(39, 174, 96, 0.4) !important;
    display: inline-block !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    border: none !important;
    text-decoration: none !important;
}

.status-rejected {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4) !important;
    display: inline-block !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    border: none !important;
    text-decoration: none !important;
}

.status-pinned {
    background: linear-gradient(135deg, #9b59b6, #8e44ad) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(155, 89, 182, 0.4) !important;
    display: inline-block !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    border: none !important;
    text-decoration: none !important;
    position: relative !important;
    margin-right: 8px !important;
}

/* 赏金金额标签样式 */
.reward-amount {
    display: inline-block !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    border: none !important;
    text-decoration: none !important;
    margin-right: 8px !important;
    color: white !important;
}

.reward-low {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    box-shadow: 0 2px 6px rgba(39, 174, 96, 0.4) !important;
}

.reward-medium {
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.4) !important;
}

.reward-high {
    background: linear-gradient(135deg, #f39c12, #e67e22) !important;
    box-shadow: 0 2px 6px rgba(243, 156, 18, 0.4) !important;
}

.reward-premium {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4) !important;
}

/* 悬赏类型标签样式 */
.reward-type-delegate {
    background: linear-gradient(135deg, #8e44ad, #7d3b98) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(142, 68, 173, 0.4) !important;
    display: inline-block !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    border: none !important;
    text-decoration: none !important;
    margin-right: 8px !important;
}

.reward-type-item {
    background: linear-gradient(135deg, #16a085, #138d75) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(22, 160, 133, 0.4) !important;
    display: inline-block !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    border: none !important;
    text-decoration: none !important;
    margin-right: 8px !important;
}

.stats-info {
    margin-top: 20px;
    text-align: center;
    color: #8e8e93;
    font-size: 0.9rem;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.stats-info p {
    margin: 0;
    font-weight: 500;
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    margin: auto;
}

.modal-content h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.modal-content p {
    margin: 15px 0;
    color: #555;
    line-height: 1.6;
}

.modal-content .warning {
    color: #e74c3c;
    font-weight: bold;
    background: #fdf2f2;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #e74c3c;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 25px;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-danger {
    background: #e74c3c;
    color: white;
    border: none;
    animation: pulse-red 0.9s infinite;
}

.btn-danger:hover {
    background: #c0392b;
}

@keyframes pulse-red {
    0% {
        background-color: #dc3545;
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    50% {
        background-color: #ff1e2e;
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }
    100% {
        background-color: #dc3545;
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* 工具页面样式 */
.cursor-pointer {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 工具页面清理结果提示间距 */
.tools-result-alert {
    margin-top: 40px !important;
}

.cursor-pointer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* 无数据样式增强 */
.no-items {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.no-items p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #8e8e93;
}

.no-items .btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.no-items .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* 加载状态 */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 帖子卡片悬停效果增强 */
.post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 按钮过渡效果 */
.btn {
    transition: all 0.3s ease;
}

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

/* 禁用状态的按钮 */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 模态框加载状态 */
.modal.loading {
    pointer-events: none;
}

.modal.loading .modal-content {
    position: relative;
}

.modal.loading .modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* 回退按钮样式 */
.back-button-container {
    position: fixed;
    bottom: 25px; /* 减少底部距离 */
    right: 25px; /* 减少右侧距离 */
    z-index: 1000;
}

.back-btn {
    align-items: center;
    gap: 6px; /* 减少图标和文字的间距 */
    padding: 10px 16px; /* 减少padding */
    background-color: #4ea2ec;
    color: white;
    border: none;
    border-radius: 6px; /* 减少圆角 */
    font-size: 13px; /* 稍微减小字体 */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12); /* 减少阴影 */
}

.back-btn:hover {
    background-color: #5a6268;
    transform: translateY(-1px); /* 减少悬停效果 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* 减少悬停阴影 */
}

.back-btn i {
    font-size: 11px; /* 稍微减小图标大小 */
}

/* iPad端保持原有样式 */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        padding: 12px 20px;
    }
    
    .nav-center {
        gap: 18px;
    }
    
    .navbar a {
        font-size: 15px;
        padding: 7px 11px;
    }
}

/* 登录提示样式 */
.login-prompt {
    text-align: center;
    margin: 24px 0; /* 减少margin */
    padding: 20px; /* 减少padding */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px; /* 减少圆角 */
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08); /* 减少阴影 */
    transition: all 0.3s ease;
}

.login-prompt:hover {
    transform: translateY(-1px); /* 减少悬停效果 */
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12); /* 减少悬停阴影 */
}

.login-prompt h3 {
    color: #495057;
    margin-bottom: 12px; /* 减少底部margin */
    font-size: 1.2rem; /* 稍微减小字体 */
    font-weight: 600;
}

.login-prompt p {
    color: #6c757d;
    margin-bottom: 16px; /* 减少底部margin */
    font-size: 0.95rem; /* 稍微减小字体 */
    line-height: 1.4; /* 减少行高 */
}

.login-prompt a {
    display: inline-block;
    padding: 10px 20px; /* 减少padding */
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px; /* 减少圆角 */
    font-weight: 600;
    font-size: 0.95rem; /* 稍微减小字体 */
    transition: all 0.3s ease;
    box-shadow: 0 1px 6px rgba(0, 123, 255, 0.25); /* 减少阴影 */
}

.login-prompt a:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    text-decoration: none;
    color: white;
}

/* 固定在右下角的返回按钮 */
.back-button-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.back-button-fixed .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #dee2e6;
    color: #6c757d;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-button-fixed .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
}

.back-button-fixed .btn i {
    font-size: 14px;
}

/* 详细操作日志页面布局优化 */
.d-flex.align-items-center.gap-3.flex-wrap {
    gap: 1rem !important;
    margin-bottom: 1.5rem;
}

.d-flex.align-items-center.gap-3.flex-wrap h2 {
    margin-bottom: 0;
    margin-right: 1rem;
}

.d-flex.align-items-center.gap-3.flex-wrap span {
    white-space: nowrap;
}

/* 确保标签页与标题区域有足够间距 */
.audit-tabs {
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
}

/* 日志卡片容器 */
.log-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 0;
}

/* 日志卡片样式 */
.log-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.log-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #dee2e6;
}

/* 卡片头部 */
.log-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.log-time {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.log-type-badge {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* 卡片内容 */
.log-card-content {
    margin: 0;
}

.log-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 评论内容样式 */
.log-comment-content {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #e74c3c;
}

.comment-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
    margin-right: 0.5rem;
}

.comment-text {
    font-size: 0.85rem;
    color: #495057;
    line-height: 1.4;
}

    /* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000 !important;
        color: #ffffff !important;
    }
    
    /* 个人页面深色模式 */
    .container.profile-page .card.post {
        background: #1c1c1e !important;
        border: 1px solid #4a4a4c !important;
        color: #ffffff !important;
        box-shadow: 0 4px 20px rgba(255,255,255,0.08) !important;
    }
    
    .container.profile-page .card.post:hover {
        background: #2c2c2e !important;
        border: 1px solid #5a5a5c !important;
        box-shadow: 0 8px 30px rgba(255,255,255,0.15) !important;
    }
    
    .container.profile-page .card-title {
        color: #ffffff !important;
    }
    
    .container.profile-page .post-content {
        color: #d1d1d6 !important;
    }
    
    .container.profile-page .post-meta {
        color: #8e8e93 !important;
        border-top: 1px solid #48484a !important;
    }
    
    .no-items {
        background: #1c1c1e !important;
        border: 1px solid #4a4a4c !important;
        color: #ffffff !important;
        box-shadow: 0 4px 20px rgba(255,255,255,0.08) !important;
    }
    
    .no-items p {
        color: #d1d1d6 !important;
    }
    
    .stats-info {
        background: #1c1c1e !important;
        border: 1px solid #4a4a4c !important;
        color: #ffffff !important;
        box-shadow: 0 4px 20px rgba(255,255,255,0.08) !important;
    }
    
    ul.pagination {
        background: #1c1c1e !important;
        border: 1px solid #4a4a4c !important;
        box-shadow: 0 4px 20px rgba(255,255,255,0.08) !important;
    }
    
    ul.pagination li a {
        color: #ffffff !important;
    }
    
    ul.pagination li a:hover {
        background: #2c2c2e !important;
        color: #0a84ff !important;
    }
    
    ul.pagination li a.active {
        background: linear-gradient(135deg, #0a84ff, #0056b3) !important;
        color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(10, 132, 255, 0.3) !important;
    }
    
    /* 状态标签深色模式增强 */
    .status-pending {
        background: #ff9500 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(255, 149, 0, 0.8) !important;
        border: 2px solid #ffb84d !important;
        opacity: 1 !important;
        margin-right: 8px !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
    }
    
    .status-approved {
        background: #30d158 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(48, 209, 88, 0.8) !important;
        border: 2px solid #66ff99 !important;
        opacity: 1 !important;
        margin-right: 8px !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
    }
    
    .status-rejected {
        background: #ff453a !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(255, 69, 58, 0.8) !important;
        border: 2px solid #ff8080 !important;
        opacity: 1 !important;
        margin-right: 8px !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
    }
    
    .status-pinned {
        background: #bf5af2 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(191, 90, 242, 0.8) !important;
        border: 2px solid #d9b3ff !important;
        opacity: 1 !important;
        margin-right: 8px !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
    }
    
    /* 赏金金额标签深色模式增强 */
    .reward-amount {
        color: #ffffff !important;
        opacity: 1 !important;
        border: none !important;
    }
    
    .reward-low {
        background: #30d158 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(48, 209, 88, 0.8) !important;
        border: 2px solid #66ff99 !important;
        opacity: 1 !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
    }
    
    .reward-medium {
        background: #007aff !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(0, 122, 255, 0.8) !important;
        border: 2px solid #66b3ff !important;
        opacity: 1 !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
    }
    
    .reward-high {
        background: #ff9500 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(255, 149, 0, 0.8) !important;
        border: 2px solid #ffb84d !important;
        opacity: 1 !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
    }
    
    .reward-premium {
        background: #ff453a !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(255, 69, 58, 0.8) !important;
        border: 2px solid #ff8080 !important;
        opacity: 1 !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
    }
    
    /* 悬赏类型标签深色模式增强 */
    .reward-type-delegate {
        background: #af52de !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(175, 82, 222, 0.8) !important;
        border: 2px solid #d9b3ff !important;
        opacity: 1 !important;
        margin-right: 8px !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
    }
    
    .reward-type-item {
        background: #64d2ff !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(100, 210, 255, 0.8) !important;
        border: 2px solid #b3e6ff !important;
        opacity: 1 !important;
        margin-right: 8px !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
    }
    
    /* 基础界面元素深色模式 */
    .card, .post, .reward-card, .lost-card {
        background: #1c1c1e !important;
        border: 1px solid #4a4a4c !important;
        color: #ffffff !important;
        box-shadow: 0 4px 20px rgba(255,255,255,0.08) !important;
    }
    
    .navbar {
        background: linear-gradient(135deg, #1c1c1e, #2c2c2e) !important;
        border-bottom: 1px solid #4a4a4c !important;
    }
    
    .navbar a {
        color: #ffffff !important;
    }
    
    .navbar a.active {
        background: rgba(10, 132, 255, 0.2) !important;
        color: #0a84ff !important;
    }
}

/* 桌面版下拉式选择器样式 */
.post-type-dropdown,
.post-reward-type-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.post-type-dropdown .dropdown-header,
.post-reward-type-dropdown .dropdown-header {
    width: 400px;
    max-width: 90%;
}

.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    min-height: 56px;
}

.dropdown-header:hover {
    border-color: #3498db;
    background: #e3f2fd;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.dropdown-label {
    font-weight: 500;
    color: #495057;
    font-size: 15px;
}

.dropdown-value {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
    flex: 1;
    text-align: right;
    margin-right: 16px;
}

.dropdown-arrow {
    color: #7f8c8d;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.dropdown-arrow.active {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    min-width: 400px;
    max-width: 90vw;
}

.dropdown-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f3f4;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background-color: #f8f9fa;
}

.dropdown-option.selected {
    background-color: #e3f2fd;
    color: #3498db;
}

.dropdown-option.selected .check-icon {
    color: #3498db;
    font-weight: bold;
}

.check-icon {
    color: transparent;
    font-size: 18px;
    font-weight: bold;
}

/* 桌面版交互优化 */
.dropdown-header:active {
    background: #e3f2fd;
    transform: scale(0.99);
}

.dropdown-option:active {
    background-color: #e3f2fd;
}

/* 桌面版滚动条样式 */
.dropdown-options::-webkit-scrollbar {
    width: 8px;
}

.dropdown-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dropdown-options::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.dropdown-options::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 页面内容导航栏间距 - 从回档迁移 */
.page-content {
    padding-top: 70px;
}

/* 确保在桌面端正确显示 */
@media (min-width: 769px) {
    .post-type-dropdown,
    .post-reward-type-dropdown {
        margin-bottom: 24px;
    }
    
    .dropdown-header {
        min-height: 56px;
    }
    
    .dropdown-options {
        max-height: 250px;
    }
    
    .dropdown-option {
        padding: 16px 20px;
    }
}

/* ==========================================================
   互动功能样式 - 浅色主题适配
   ========================================================== */

/* 互动区域样式 */
.interactions-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}


/* 点赞按钮样式 */
.interaction-btn[data-type="1"] {
    background: #28a745;
    color: #ffffff;
    border-color: #28a745;
}

.interaction-btn[data-type="1"]:hover {
    background: #218838;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.interaction-btn[data-type="1"].active {
    background: #1e7e34;
    color: #ffffff;
    border-color: #1c7430;
    box-shadow: 0 0 0 3px rgba(28, 116, 48, 0.5);
}

/* 踩按钮样式 */
.interaction-btn[data-type="2"] {
    background: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
}

.interaction-btn[data-type="2"]:hover {
    background: #c82333;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.interaction-btn[data-type="2"].active {
    background: #bd2130;
    color: #ffffff;
    border-color: #b21f2d;
    box-shadow: 0 0 0 3px rgba(178, 31, 45, 0.5);
}

/* 小丑按钮样式 */
.interaction-btn[data-type="3"] {
    background: #ffc107;
    color: #212529;
    border-color: #ffc107;
}

.interaction-btn[data-type="3"]:hover {
    background: #e0a800;
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.interaction-btn[data-type="3"].active {
    background: #d39e00;
    color: #212529;
    border-color: #c69500;
    box-shadow: 0 0 0 3px rgba(198, 149, 0, 0.5);
}

/* 帖子统计信息样式 */
.post-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid #e9ecef;
    margin-top: 20px;
    color: #6c757d;
    font-size: 14px;
}

/* 评论区域样式 */
.comments-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comments-title {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

/* 评论表单样式 */
.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    background: #ffffff;
    color: #495057;
}

.comment-form textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
    outline: none;
}

.comment-form textarea::placeholder {
    color: #6c757d;
}

.comment-submit {
    background: #28a745;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.comment-submit:hover {
    background: #218838;
    transform: translateY(-2px);
}

.comment-submit:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* 评论项样式 */
.comment-item {
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-author {
    color: #3498db;
    font-weight: 600;
    font-size: 14px;
}

.comment-time {
    color: #6c757d;
    font-size: 13px;
    margin-left: 10px;
}

.comment-content {
    color: #495057;
    margin: 10px 0;
    line-height: 1.6;
}

.delete-comment {
    background: #dc3545;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-comment:hover {
    background: #c82333;
}

.no-comments {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 30px 0;
}

/* 查看次数样式 */
.view-count {
    color: #6c757d;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================
   互动功能样式 - 桌面端经典主题
   ========================================================== */

/* 互动区域 */
.interactions-section {
    margin: 20px 0;
    padding: 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.interactions-container {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* 互动按钮 */
.interaction-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.interaction-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 点赞按钮 */
.interaction-btn[data-type="1"] {
    background: #28a745;
}

.interaction-btn[data-type="1"]:hover {
    background: #218838;
}

.interaction-btn[data-type="1"].active {
    background: #155724;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

/* 踩按钮 */
.interaction-btn[data-type="2"] {
    background: #dc3545;
}

.interaction-btn[data-type="2"]:hover {
    background: #c82333;
}

.interaction-btn[data-type="2"].active {
    background: #721c24;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
}

/* 小丑按钮 */
.interaction-btn[data-type="3"] {
    background: #ffc107;
    color: #212529;
}

.interaction-btn[data-type="3"]:hover {
    background: #e0a800;
}

.interaction-btn[data-type="3"].active {
    background: #d39e00;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

/* 统计数字 */
.interaction-count {
    margin-left: 5px;
    font-weight: bold;
}

/* 帖子统计信息 */
.post-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid #dee2e6;
    color: #495057;
    font-size: 14px;
    justify-content: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #495057;
}

/* 评论区域 */
.comments-section {
    margin: 16px auto;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comments-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

/* 评论表单 */
.comment-form {
    margin-bottom: 24px;
}

.comment-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    background: #ffffff;
    color: #333;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
}

.comment-submit {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.comment-submit:hover {
    background: #218838;
}

.comment-submit:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* 评论列表 */
.comments-container {
    margin-top: 20px;
}

.comment-item {
    padding: 16px;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease-in;
    background: #ffffff;
    border-radius: 8px;
}

.comment-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: bold;
    color: #007bff;
    font-size: 14px;
}

.comment-time {
    color: #6c757d;
    font-size: 12px;
}

.delete-comment {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.delete-comment:hover {
    background: #c82333;
}

.comment-content {
    color: #333;
    line-height: 1.5;
    font-size: 14px;
    font-weight: 500;
}

.no-comments {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

/* 查看次数显示 */
.view-count {
    color: #6c757d;
    font-size: 12px;
    margin-left: 10px;
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* 模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin: auto;
    box-sizing: border-box;
    position: relative;
}

.modal-content h3 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.modal-content p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-content div {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-content button,
.modal-content a {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.modal-content button {
    background: #6c757d;
    color: white;
}

.modal-content a {
    background: #007bff;
    color: white;
}

/* ==========================================================
   个人页面样式 - 桌面端经典主题
   ========================================================== */

.profile-page {
    margin-top: 120px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.user-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
}

.user-avatar svg {
    color: #6c757d;
}

.user-info h2 {
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-size: 1.8rem;
}

.user-info p {
    color: #6c757d;
    margin: 4px 0;
    font-size: 0.9rem;
}

.stats-section {
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.stat-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.profile-menu h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}

.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: #2c3e50;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.menu-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    text-decoration: none;
    color: #2c3e50;
}

.menu-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
}

.menu-content {
    flex: 1;
}

.menu-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

.menu-content p {
    margin: 0 0 5px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.post-count {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid #bbdefb;
}

.menu-arrow {
    flex-shrink: 0;
    color: #6c757d;
}

/* 主题设置样式 */
.theme-settings {
    position: relative;
    cursor: pointer;
    z-index: 100;
}

.theme-settings:hover {
    background: #f8f9fa;
}

.theme-arrow {
    transition: transform 0.3s ease;
}

.theme-arrow.rotated {
    transform: rotate(180deg);
}

.theme-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.theme-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 8px;
    margin: 4px;
}

.theme-option:hover {
    background: #f8f9fa;
}

.theme-option:first-child {
    margin-top: 8px;
}

.theme-option:last-child {
    margin-bottom: 8px;
}

.theme-preview {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    flex-shrink: 0;
}

.theme-default {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.theme-starry {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    position: relative;
    overflow: hidden;
}

.theme-starry::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8) 1px, transparent 1px),
                radial-gradient(circle at 70% 70%, rgba(255,255,255,0.6) 1px, transparent 1px),
                radial-gradient(circle at 20% 80%, rgba(255,255,255,0.4) 1px, transparent 1px);
    background-size: 12px 12px, 8px 8px, 15px 15px;
    animation: starsTwinkle 3s ease-in-out infinite alternate;
}

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


.theme-forest {
    background: linear-gradient(135deg, #2d5016, #4a7c59, #6a994e);
}

/* 随机主题通知样式 */
.random-theme-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    max-width: 500px;
    width: 90%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: slideInDown 0.5s ease-out;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
}

.notification-text strong {
    color: #ffffff;
    font-weight: 600;
}

.notification-text small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.theme-name {
    color: #87CEEB;
    font-weight: 600;
}

.notification-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .random-theme-notification {
        top: 15px;
        width: 95%;
        max-width: none;
    }
    
    .notification-content {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .notification-icon {
        font-size: 20px;
    }
    
    .notification-text {
        font-size: 13px;
    }
    
    .notification-text small {
        font-size: 11px;
    }
}

.theme-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.theme-name {
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 500;
}

.theme-desc {
    color: #6c757d;
    font-size: 0.8rem;
}

/* 响应式设计 - 桌面端个人页面适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .profile-page {
        margin-top: 100px;
        padding: 0 20px;
    }
    
    .profile-header {
        padding: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .menu-item {
        padding: 18px;
    }
}
