/* ============================================================
 * components.css — 徽章、按钮、分页、模态框、状态
 * ============================================================ */

/* 徽章 */
.forum-badge {
    padding: 2px 6px;
    border-radius: 2px;
    font-family: 'VT323', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: middle;
}

.forum-badge-pin {
    background: rgba(255, 100, 100, 0.2);
    color: #ff6464;
    border: 1px solid rgba(255, 100, 100, 0.3);
}

.forum-badge-highlight {
    background: rgba(224, 192, 96, 0.2);
    color: #e0c060;
    border: 1px solid rgba(224, 192, 96, 0.3);
}

.forum-badge-locked {
    background: rgba(150, 150, 150, 0.2);
    color: #999;
    border: 1px solid rgba(150, 150, 150, 0.3);
}

.forum-badge-featured {
    background: rgba(124, 252, 0, 0.15);
    color: #7cfc00;
    border: 1px solid rgba(124, 252, 0, 0.3);
}

.forum-badge-category {
    color: #fff;
    border: none;
    font-size: 0.65rem;
}

/* 按钮 */
.forum-page .forum-btn,
.forum-modal .forum-btn,
.admin-container .forum-btn {
    padding: 6px 18px !important;
    border-radius: 2px !important;
    font-family: 'VT323', monospace !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
    border: 1px solid !important;
}

.forum-btn-submit {
    background: rgba(74, 140, 63, 0.8) !important;
    border-color: #5ca050 !important;
    color: #fff !important;
}

.forum-btn-submit:hover {
    background: rgba(92, 160, 80, 0.9) !important;
    border-color: #7cfc00 !important;
}

.forum-btn-cancel {
    background: transparent !important;
    border-color: rgba(184, 176, 160, 0.3) !important;
    color: #b8b0a0 !important;
}

.forum-btn-cancel:hover {
    border-color: #e0c060 !important;
    color: #e0c060 !important;
}

.forum-btn-danger {
    background: rgba(200, 60, 60, 0.6) !important;
    border-color: rgba(200, 60, 60, 0.8) !important;
    color: #ff8888 !important;
}

.forum-btn-danger:hover {
    background: rgba(200, 60, 60, 0.8) !important;
}

.forum-btn-new-post {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    background: rgba(74, 140, 63, 0.7);
    border: 1px solid #5ca050;
    border-radius: 2px;
    color: #fff;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.forum-btn-new-post:hover {
    background: rgba(92, 160, 80, 0.85);
    border-color: #7cfc00;
}

/* 分页 */
.forum-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
    padding: 12px 0;
}

.forum-page-btn {
    padding: 4px 12px;
    background: rgba(22, 20, 17, 0.9);
    border: 1px solid rgba(224, 192, 96, 0.12);
    border-radius: 2px;
    color: #b8b0a0;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.15s;
}

.forum-page-btn:hover {
    border-color: #e0c060;
    color: #e0c060;
}

.forum-page-btn.active {
    background: rgba(224, 192, 96, 0.15);
    border-color: #e0c060;
    color: #e0c060;
}

.forum-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 模态框 */
.forum-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forum-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.forum-modal-content {
    position: relative;
    background: rgba(40, 35, 28, 0.98);
    border: 2px solid rgba(224, 192, 96, 0.3);
    border-radius: 2px;
    padding: 24px;
    width: 400px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.forum-modal-body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.forum-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 12px;
}
.forum-modal-header h3 { margin: 0; }
.forum-modal-close {
    font-size: 1.6rem;
    color: #b8b0a0;
    cursor: pointer;
    line-height: 1;
}
.forum-modal-close:hover { color: #e0c060; }

.forum-modal-footer {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(224, 192, 96, 0.1);
}

.forum-modal-content h3 {
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    color: #e0c060;
    margin: 0 0 16px;
}

.forum-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.forum-editor-upload-modal {
    width: 460px;
}

.forum-editor-upload-help {
    margin-bottom: 10px;
    color: rgba(184, 176, 160, 0.75);
    font-size: 0.82rem;
    line-height: 1.5;
}

.forum-editor-upload-picked {
    margin-top: 8px;
    padding: 8px 10px;
    color: #e0d8c8;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(224, 192, 96, 0.12);
    font-size: 0.8rem;
}

.forum-editor-hide-mode-item {
    display: block;
    margin: 8px 0;
    color: #e0d8c8;
    font-size: 0.86rem;
}

.forum-editor-hide-mode-item input {
    margin-right: 6px;
}

/* 状态 */
.forum-user-info {
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    color: #7cfc00;
    padding: 0 8px;
}

.forum-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(184, 176, 160, 0.5);
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    background: rgba(22, 20, 17, 0.6);
    border: 1px dashed rgba(224, 192, 96, 0.1);
    border-radius: 2px;
}

.forum-loading {
    text-align: center;
    padding: 40px;
    color: rgba(224, 192, 96, 0.6);
    font-family: 'VT323', monospace;
    font-size: 1rem;
}

/* 管理操作按钮 */
.forum-admin-bar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.forum-admin-btn {
    padding: 3px 10px !important;
    font-size: 0.8rem !important;
    border: 1px solid rgba(224, 192, 96, 0.2) !important;
    border-radius: 2px !important;
    background: transparent !important;
    color: #b8b0a0 !important;
    font-family: 'VT323', monospace !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
}

.forum-admin-btn:hover {
    border-color: #e0c060 !important;
    color: #e0c060 !important;
}

.forum-admin-btn.danger {
    color: #ff6464 !important;
    border-color: rgba(255, 100, 100, 0.2) !important;
}

.forum-admin-btn.danger:hover {
    border-color: #ff6464 !important;
}

/* 点赞/收藏/关注 */
.forum-action-bar {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(224, 192, 96, 0.08);
    margin-top: 8px;
    justify-content: flex-end;
}

.forum-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(40, 35, 28, 0.8);
    border: 1px solid rgba(224, 192, 96, 0.1);
    border-radius: 2px;
    color: rgba(184, 176, 160, 0.6);
    font-family: 'VT323', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s;
}

.forum-action-btn svg {
    width: 16px;
    height: 16px;
}

.forum-action-btn:hover {
    border-color: rgba(224, 192, 96, 0.3);
    color: #d0c8b0;
}

.forum-action-btn.active {
    background: rgba(224, 192, 96, 0.12);
    border-color: rgba(224, 192, 96, 0.3);
    color: #e0c060;
}

/* 更新历史 */
.forum-updates-header {
    padding: 10px 0 6px;
    border-bottom: 1px solid rgba(224, 192, 96, 0.1);
    margin-bottom: 8px;
}

.forum-updates-header h3 {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    color: #e0c060;
    margin: 0;
}

.forum-update-item {
    padding: 10px 12px;
    background: rgba(22, 20, 17, 0.6);
    border: 1px solid rgba(224, 192, 96, 0.08);
    border-radius: 2px;
    margin-bottom: 6px;
}

.forum-update-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.forum-update-version {
    padding: 1px 6px;
    background: rgba(124, 252, 0, 0.1);
    border: 1px solid rgba(124, 252, 0, 0.2);
    border-radius: 2px;
    color: #7cfc00;
    font-family: 'VT323', monospace;
    font-size: 0.8rem;
}

.forum-update-title {
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    color: #d0c8b0;
}

.forum-update-time {
    font-family: 'VT323', monospace;
    font-size: 0.75rem;
    color: rgba(184, 176, 160, 0.4);
}

.forum-update-content {
    font-size: 0.85rem;
    color: #b8b0a0;
    line-height: 1.5;
}

.forum-updates-more {
    text-align: center;
    padding: 8px 0;
}

.forum-updates-more a {
    font-family: 'VT323', monospace;
    font-size: 0.85rem;
    color: rgba(124, 252, 0, 0.6);
    text-decoration: none;
    transition: color 0.15s;
}

.forum-updates-more a:hover {
    color: #7cfc00;
}

/* 头像下拉菜单 */
.header-user-wrap {
    position: relative;
}

.header-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(40, 35, 28, 0.98);
    border: 1px solid rgba(224, 192, 96, 0.2);
    border-radius: 2px;
    z-index: 999;
    margin-top: 4px;
    width: 300px;
}

.header-dropdown.show {
    display: block;
}

.hd-tabs {
    display: flex;
    border-bottom: 1px solid rgba(224, 192, 96, 0.1);
}

.hd-tab {
    flex: 1;
    padding: 7px 0;
    text-align: center;
    font-family: 'VT323', monospace;
    font-size: 0.8rem;
    color: rgba(184, 176, 160, 0.5);
    text-decoration: none;
    transition: all 0.15s;
    border-bottom: 2px solid transparent;
}

.hd-tab:hover {
    color: #e0c060;
}

.hd-tab.active {
    color: #e0c060;
    border-bottom-color: #e0c060;
}

.hd-list {
    max-height: 320px;
    overflow-y: auto;
}

.hd-notify-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    text-decoration: none;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(224, 192, 96, 0.05);
}

.hd-notify-item:hover {
    background: rgba(224, 192, 96, 0.06);
}

.hd-notify-item.hd-unread {
    background: rgba(224, 192, 96, 0.08);
    position: relative;
}
.hd-notify-item.hd-unread::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e04040;
}
.hd-notify-item.hd-unread .hd-notify-text {
    color: #e8e0d0;
    font-weight: bold;
}

.hd-notify-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.hd-notify-avatar-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(224, 192, 96, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0c060;
    font-family: 'VT323', monospace;
    font-size: 0.75rem;
}

.hd-notify-text {
    font-family: 'VT323', monospace;
    font-size: 0.8rem;
    color: #b8b0a0;
    line-height: 1.35;
    flex: 1;
}

.hd-loading, .hd-empty {
    padding: 20px;
    text-align: center;
    color: rgba(184, 176, 160, 0.4);
    font-family: 'VT323', monospace;
    font-size: 0.85rem;
}

.hd-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(224, 192, 96, 0.1);
    padding: 6px 10px;
}

.hd-footer-btn {
    padding: 3px 10px;
    background: transparent;
    border: 1px solid rgba(224, 192, 96, 0.15);
    border-radius: 2px;
    color: rgba(184, 176, 160, 0.6);
    font-family: 'VT323', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
}

.hd-footer-btn:hover {
    border-color: #e0c060;
    color: #e0c060;
}

.hd-footer-links {
    display: flex;
    gap: 10px;
}

.hd-footer-link {
    font-family: 'VT323', monospace;
    font-size: 0.75rem;
    color: rgba(184, 176, 160, 0.45);
    text-decoration: none;
    transition: color 0.15s;
}

.hd-footer-link:hover {
    color: #e0c060;
}

.header-unread-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    background: #ff4444;
    border-radius: 7px;
    color: #fff;
    font-size: 0.6rem;
    font-family: 'VT323', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 用户资料卡 popover */
.forum-user-popover {
    position: absolute;
    z-index: 9999;
    width: 300px;
    background: rgba(30, 28, 24, 0.98);
    border: 1px solid rgba(224, 192, 96, 0.15);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.forum-user-card {
    padding: 16px;
}

.forum-user-card-loading {
    padding: 30px;
    text-align: center;
    color: rgba(184, 176, 160, 0.5);
    font-family: 'VT323', monospace;
}

.fuc-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.fuc-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(224, 192, 96, 0.2);
}

.fuc-name {
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
    color: #e0c060;
}

.fuc-role {
    font-family: 'VT323', monospace;
    font-size: 0.75rem;
    color: rgba(124, 252, 0, 0.7);
    margin-top: 2px;
}

.fuc-sig {
    font-size: 0.82rem;
    color: rgba(184, 176, 160, 0.6);
    font-style: italic;
    margin-bottom: 12px;
    padding: 6px 0;
    border-top: 1px solid rgba(224, 192, 96, 0.08);
}

.fuc-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(224, 192, 96, 0.1);
    border-bottom: 1px solid rgba(224, 192, 96, 0.1);
}

.fuc-stat {
    flex: 1;
    text-align: center;
    padding: 10px 0;
}

.fuc-stat-val {
    display: block;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    color: #e0c060;
}

.fuc-stat-label {
    font-family: 'VT323', monospace;
    font-size: 0.72rem;
    color: rgba(184, 176, 160, 0.5);
}

.fuc-meta {
    font-family: 'VT323', monospace;
    font-size: 0.78rem;
    color: rgba(184, 176, 160, 0.4);
    margin-top: 10px;
    text-align: center;
}

.fuc-actions {
    margin-top: 10px;
    text-align: center;
    border-top: 1px solid rgba(224, 192, 96, 0.08);
    padding-top: 10px;
}

.fuc-action-link {
    font-family: 'VT323', monospace;
    font-size: 0.85rem;
    color: #7cfc00;
    text-decoration: none;
}

.fuc-action-link:hover {
    text-decoration: underline;
}

/* 附件下载区 */
.forum-detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.forum-attach-area {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.forum-attach-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-family: 'VT323', monospace;
    font-size: 0.82rem;
    color: #7cfc00;
    background: rgba(124, 252, 0, 0.08);
    border: 1px solid rgba(124, 252, 0, 0.2);
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.forum-attach-btn:hover {
    background: rgba(124, 252, 0, 0.15);
}

.forum-attach-btn.locked {
    color: #e0c060;
    background: rgba(224, 192, 96, 0.08);
    border-color: rgba(224, 192, 96, 0.2);
}

.forum-attach-btn.locked:hover {
    background: rgba(224, 192, 96, 0.15);
}

.forum-attach-downloads {
    font-family: 'VT323', monospace;
    font-size: 0.72rem;
    color: rgba(184, 176, 160, 0.4);
}

.forum-inline-file-link,
.forum-post-body .forum-inline-file-link,
.forum-update-content .forum-inline-file-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    color: #7cfc00;
    background: rgba(124, 252, 0, 0.08);
    border: 1px solid rgba(124, 252, 0, 0.18);
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 0.82rem;
}

.forum-inline-file-link:hover {
    background: rgba(124, 252, 0, 0.15);
}

.forum-inline-file-buy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    color: #1a1612;
    background: #e0c060;
    border: 1px solid #c8a848;
    font-family: 'VT323', monospace;
    font-size: 0.82rem;
    cursor: pointer;
}

.forum-inline-file-buy:hover {
    background: #c8a848;
}

.forum-inline-file-missing {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    color: #b8b0a0;
    background: rgba(184, 176, 160, 0.08);
    border: 1px solid rgba(184, 176, 160, 0.12);
    font-family: 'VT323', monospace;
    font-size: 0.82rem;
}

/* 隐藏内容锁定块 */
.paid-content-block,
.hidden-content-block {
    border: 2px dashed rgba(224, 192, 96, 0.2);
    background: rgba(224, 192, 96, 0.05);
    padding: 12px;
    border-radius: 4px;
    margin: 12px 0;
}

.paid-content-block.locked,
.hidden-content-block.locked {
    border-color: rgba(224, 192, 96, 0.3);
    background: rgba(224, 192, 96, 0.08);
}

.hidden-content-block[data-hide-mode="comment"] {
    border-color: rgba(122, 156, 198, 0.35);
    background: rgba(122, 156, 198, 0.10);
}

.hidden-lock-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    color: #e0d8c8;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
}

.hidden-lock-hint.paid {
    color: #e0c060;
}

.hidden-lock-hint.comment {
    color: #7a9cc6;
}

.forum-paid-buy-btn {
    padding: 4px 14px;
    font-family: 'VT323', monospace;
    font-size: 0.85rem;
    color: #1a1612;
    background: #e0c060;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.forum-paid-buy-btn:hover {
    background: #c8a848;
}

/* 账单 */
.hd-billing-balance {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(184,176,160,0.15);
    font-size: 0.85rem;
    color: #b8b0a0;
}
.hd-billing-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(184,176,160,0.08);
    font-size: 0.82rem;
    color: #b8b0a0;
}
.hd-billing-item:hover {
    background: rgba(184,176,160,0.05);
}
.hd-billing-desc {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hd-billing-amount {
    font-weight: bold;
    white-space: nowrap;
    min-width: 50px;
    text-align: right;
}
.hd-billing-time {
    color: rgba(184,176,160,0.5);
    font-size: 0.75rem;
    white-space: nowrap;
}

/* 首页推荐 */
/* 首页推荐轮播 */
.forum-featured-section {
    margin-bottom: 16px;
}
.feat-carousel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(224,192,96,0.12);
    background: rgba(0,0,0,0.2);
}
.feat-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}
.feat-carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: flex-end;
    min-height: 220px;
    text-decoration: none;
    color: #b8b0a0;
    position: relative;
}
.feat-carousel-content {
    padding: 24px 28px;
    width: 55%;
}
.feat-carousel-badge {
    display: inline-block;
    background: rgba(224,192,96,0.2);
    color: #e0c060;
    font-size: 0.7rem;
    padding: 2px 8px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.feat-carousel-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e0c060;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.feat-carousel-excerpt {
    font-size: 0.8rem;
    color: rgba(184,176,160,0.7);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.feat-carousel-meta {
    font-size: 0.72rem;
    color: rgba(184,176,160,0.5);
}
.feat-carousel-dots {
    position: absolute;
    bottom: 10px;
    right: 16px;
    display: flex;
    gap: 6px;
}
.feat-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(224,192,96,0.3);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.feat-carousel-dot.active {
    background: #e0c060;
}
.feat-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: rgba(224,192,96,0.7);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    width: 30px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.feat-carousel-arrow:hover {
    background: rgba(0,0,0,0.6);
    color: #e0c060;
}
.feat-arrow-left { left: 0; }
.feat-arrow-right { right: 0; }

/* 版区推荐大卡片轮播 */
.board-feat-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}
.board-feat-track {
    display: flex;
    transition: transform 0.4s ease;
}
.board-feat-slide {
    min-width: 100%;
    display: flex;
    gap: 12px;
    box-sizing: border-box;
    flex-shrink: 0;
}
.board-feat-card {
    flex: 1;
    display: flex;
    gap: 14px;
    padding: 14px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(224,192,96,0.1);
    text-decoration: none;
    color: #b8b0a0;
    transition: background 0.15s;
    min-width: 0;
}
.board-feat-card:hover {
    background: rgba(224,192,96,0.08);
}
.board-feat-cover {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.board-feat-info {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.board-feat-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: #e0c060;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.board-feat-desc {
    font-size: 0.75rem;
    color: rgba(184,176,160,0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.board-feat-meta {
    font-size: 0.7rem;
    color: rgba(184,176,160,0.4);
}
.board-feat-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}
.board-feat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(224,192,96,0.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.board-feat-dot.active {
    background: #e0c060;
}

/* 推荐设置弹窗 */
.feat-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feat-modal {
    background: #1e1c18;
    border: 1px solid rgba(224,192,96,0.2);
    padding: 20px 24px;
    min-width: 360px;
    max-width: 440px;
}
.feat-modal-title {
    font-size: 1rem;
    font-weight: bold;
    color: #e0c060;
    margin-bottom: 16px;
}
.feat-modal-row {
    margin-bottom: 12px;
}
.feat-modal-row label {
    display: block;
    font-size: 0.8rem;
    color: rgba(184,176,160,0.7);
    margin-bottom: 4px;
}
.feat-modal-row input[type="number"],
.feat-modal-row input[type="text"] {
    width: 100%;
    padding: 6px 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(224,192,96,0.15);
    color: #b8b0a0;
    font-size: 0.85rem;
    box-sizing: border-box;
}
.feat-modal-btn-sm {
    padding: 4px 10px;
    background: rgba(224,192,96,0.1);
    border: 1px solid rgba(224,192,96,0.2);
    color: #e0c060;
    cursor: pointer;
    font-size: 0.78rem;
}
.feat-modal-btn-sm:hover {
    background: rgba(224,192,96,0.2);
}
.feat-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 16px;
}
.feat-modal-btn {
    padding: 6px 18px;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
}
.feat-btn-cancel {
    background: rgba(255,255,255,0.06);
    color: rgba(184,176,160,0.7);
}
.feat-btn-confirm {
    background: rgba(224,192,96,0.2);
    color: #e0c060;
}
.feat-btn-confirm:hover {
    background: rgba(224,192,96,0.3);
}

/* 版区展开 */
.forum-board-expanded {
    margin-bottom: 12px;
    border: 1px solid rgba(224,192,96,0.1);
    background: rgba(0,0,0,0.15);
}
.forum-board-expanded-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(224,192,96,0.1);
}
.forum-board-expanded-name {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #e0c060;
    font-size: 0.95rem;
    font-weight: bold;
}
.forum-board-expanded-name:hover {
    color: #f0d080;
}
.forum-board-expanded-count {
    font-size: 0.78rem;
    color: rgba(184,176,160,0.5);
}
.forum-board-expanded-posts {
    padding: 4px 0;
}
.forum-board-post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    text-decoration: none;
    color: #b8b0a0;
    font-size: 0.84rem;
    border-bottom: 1px solid rgba(224,192,96,0.04);
    transition: background 0.1s;
}
.forum-board-post-item:hover {
    background: rgba(224,192,96,0.06);
}
.forum-board-post-item:last-child {
    border-bottom: none;
}
.forum-board-post-left {
    flex: 1;
    overflow: hidden;
    margin-right: 10px;
}
.forum-board-post-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.forum-board-post-excerpt {
    display: block;
    font-size: 0.72rem;
    color: rgba(184,176,160,0.45);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 2px;
}
.forum-board-post-meta {
    font-size: 0.75rem;
    color: rgba(184,176,160,0.45);
    white-space: nowrap;
}

/* 消息列表 */
.msg-list { margin-top: 8px; }
.msg-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: #b8b0a0;
    border-bottom: 1px solid rgba(224,192,96,0.06);
    transition: background 0.15s;
}
.msg-item:hover { background: rgba(224,192,96,0.06); }
.msg-unread { background: rgba(124,252,0,0.03); }
.msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.msg-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(224,192,96,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0c060;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.msg-body { flex: 1; min-width: 0; }
.msg-content {
    font-size: 0.88rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.msg-meta {
    font-size: 0.75rem;
    color: rgba(184,176,160,0.45);
    margin-top: 4px;
}
.msg-type { color: rgba(224,192,96,0.6); }

/* 消息子分类Tab */
.profile-msg-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(224,192,96,0.1);
    padding-bottom: 8px;
}
.profile-msg-tab {
    font-size: 0.82rem;
    color: rgba(184,176,160,0.5);
    cursor: pointer;
    padding: 4px 8px;
}
.profile-msg-tab:hover { color: #b8b0a0; }
.profile-msg-tab.active {
    color: #e0c060;
    border-bottom: 2px solid #e0c060;
}
