/* 论坛 App 样式 */

.forum-app-container {
    width: 100%;
    height: 100%;
    background: #f8f8f8;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* 顶部导航栏 */
.forum-header {
    background: #fff;
    padding-top: calc(20px + var(--top-safe-area, 0px) + env(safe-area-inset-top, 0px));
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #000;
    flex-shrink: 0;
}

.forum-back-btn {
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    color: #000;
}

.forum-title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.forum-search-btn {
    cursor: pointer;
    padding: 4px;
    color: #000;
}

/* 标签页 */
.forum-tabs {
    background: #fff;
    display: flex;
    padding: 0 15px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.forum-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.forum-tab.active {
    color: #000;
    font-weight: bold;
}

.forum-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #000;
    border-radius: 2px;
}

/* 内容区域 */
.forum-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    min-width: 0;
}

.forum-content::-webkit-scrollbar {
    display: none;
}

/* 帖子卡片 */
.forum-post-card {
    background: #fff;
    border: 1px solid #000;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: transform 0.1s;
}

.forum-post-card:active {
    transform: scale(0.98);
}

.forum-post-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.forum-post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #000;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.forum-post-author-info {
    flex: 1;
}

.forum-post-author {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    margin-bottom: 2px;
}

.forum-post-time {
    font-size: 12px;
    color: #999;
}

.forum-post-follow-btn {
    padding: 4px 12px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.forum-post-content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
    word-break: break-word;
    white-space: pre-line;
}

.forum-post-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.forum-post-image {
    width: 100%;
    padding-bottom: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    border: 1px solid #eee;
}

.forum-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.forum-tag {
    padding: 3px 8px;
    background: #f0f0f0;
    border: 1px solid #000;
    border-radius: 12px;
    font-size: 11px;
    color: #000;
}

.forum-post-actions {
    display: flex;
    gap: 20px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.forum-action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.forum-action-btn:active {
    transform: scale(0.95);
}

.forum-action-btn.liked {
    color: #ff5000;
}

.forum-action-btn.favorited {
    color: #faad14;
}

/* 底部导航 */
.forum-bottom-nav {
    background: #fff;
    border-top: 1px solid #000;
    display: flex;
    padding: 8px 0;
    flex-shrink: 0;
}

.forum-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #666;
    cursor: pointer;
}

.forum-nav-item.active {
    color: #000;
    font-weight: bold;
}

.forum-nav-item svg {
    stroke: currentColor;
}

/* 发布帖子界面 */
.forum-publish-container {
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.forum-publish-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #000;
    flex-shrink: 0;
}

.forum-publish-back,
.forum-publish-submit {
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
}

.forum-publish-back {
    color: #666;
}

.forum-publish-submit {
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
}

.forum-publish-title {
    font-size: 16px;
    font-weight: bold;
}

.forum-publish-content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.forum-publish-content::-webkit-scrollbar {
    display: none;
}

#forum-post-input {
    width: 100%;
    min-height: 150px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    resize: none;
    outline: none;
    font-family: inherit;
}

.forum-publish-counter {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.forum-publish-tags {
    margin-top: 15px;
}

#forum-tags-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.forum-publish-images {
    margin-top: 15px;
}

.forum-add-image-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    color: #999;
    transition: all 0.2s;
}

.forum-add-image-btn:hover {
    border-color: #000;
    color: #000;
}

/* 个人资料 */
.forum-profile-container {
    background: #fff;
    min-height: 100%;
}

.forum-profile-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.forum-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #000;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.forum-profile-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    cursor: pointer;
}

.forum-profile-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.forum-stat-item {
    text-align: center;
}

.forum-stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.forum-stat-label {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.forum-profile-posts {
    padding: 15px;
    position: relative;
}

/* 浮动发帖按钮 */
.forum-fab {
    position: absolute;
    bottom: 70px;
    right: 15px;
    width: 52px;
    height: 52px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
    z-index: 100;
    transition: transform 0.15s, box-shadow 0.15s;
}

.forum-fab:active {
    transform: scale(0.92);
    box-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.forum-profile-posts-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
}

.forum-profile-post-item {
    padding: 12px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
}

.forum-profile-post-content {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.forum-profile-post-meta {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: #999;
}

/* 帖子详情 */
.forum-post-detail {
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.forum-detail-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #000;
    flex-shrink: 0;
}

.forum-detail-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-right: 24px;
}

.forum-detail-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.forum-detail-content::-webkit-scrollbar {
    display: none;
}

.forum-comments-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.forum-comments-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
}

.forum-comment-item {
    padding: 12px;
    background: #f8f8f8;
    border-radius: 6px;
    margin-bottom: 10px;
}

.forum-comment-author {
    font-size: 13px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.forum-comment-content {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 5px;
}

.forum-comment-time {
    font-size: 11px;
    color: #999;
}

.forum-comment-input-bar {
    display: flex;
    gap: 10px;
    padding: 10px 15px;
    background: #fff;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

#forum-comment-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
}

.forum-comment-input-bar button {
    padding: 8px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    font-weight: bold;
}

/* 消息界面 */
.forum-messages-container {
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.forum-messages-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.forum-messages-title {
    font-size: 18px;
    font-weight: bold;
}

.forum-unread-badge {
    background: #ff5000;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

.forum-messages-list {
    flex: 1;
    overflow-y: auto;
}

.forum-messages-list::-webkit-scrollbar {
    display: none;
}

.forum-notifications-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.forum-notifications-scroll::-webkit-scrollbar {
    display: none;
}

.forum-message-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.forum-message-item:active {
    background: #f8f8f8;
}

.forum-message-item.unread {
    background: #f9f9f9;
}

.forum-message-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #eee;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forum-message-info {
    flex: 1;
    min-width: 0;
}

.forum-message-from {
    font-size: 15px;
    font-weight: bold;
    color: #000;
    margin-bottom: 4px;
}

.forum-message-preview {
    font-size: 13px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.forum-message-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.forum-message-time {
    font-size: 11px;
    color: #999;
}

.forum-message-unread-dot {
    width: 8px;
    height: 8px;
    background: #ff5000;
    border-radius: 50%;
}

/* 消息详情 */
.forum-message-detail {
    background: #f8f8f8;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.forum-message-detail-header {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 10px 15px 10px;
    border-bottom: 1px solid #000;
    flex-shrink: 0;
}

.forum-message-detail-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-right: 24px;
}

.forum-message-detail-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.forum-message-detail-content::-webkit-scrollbar {
    display: none;
}

.forum-message-bubble {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.forum-message-bubble-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eee;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forum-message-bubble-content {
    flex: 1;
}

.forum-message-bubble-text {
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    word-break: break-word;
}

.forum-message-bubble-self {
    justify-content: flex-end;
}

.forum-message-bubble-self .forum-message-bubble-content {
    flex: unset;
    max-width: 75%;
}

.forum-message-bubble-self .forum-message-bubble-text {
    background: #000;
    color: #fff;
}

.forum-message-bubble-self .forum-message-bubble-time {
    color: rgba(255,255,255,0.6);
}

.forum-message-bubble-time {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    padding-left: 5px;
}

.forum-message-input-bar {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #eee;
    flex-shrink: 0;
    align-items: center;
}

#forum-message-reply-input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
}

.forum-message-input-bar button {
    padding: 8px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    font-weight: bold;
}

.forum-cloud-reply-btn {
    padding: 0 !important;
    background: #f0f0f0 !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    border-radius: 50% !important;
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.forum-cloud-reply-btn:active {
    background: #e0e0e0 !important;
    transform: scale(0.95);
}

/* 打字指示器（三个点动画） */
.forum-typing-indicator {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.forum-typing-indicator .forum-message-bubble-text {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 18px;
    min-height: 20px;
}

.forum-typing-dot {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: forumTypingBounce 1.4s infinite ease-in-out;
}

.forum-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.forum-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes forumTypingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* 二级标签页样式（模仿购物app外卖界面） */
.forum-sub-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 15px;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #eee;
    background: #fff;
    max-width: 100%;
    box-sizing: border-box;
}

.forum-sub-tabs::-webkit-scrollbar {
    height: 3px;
}

.forum-sub-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.forum-sub-tabs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.forum-sub-tabs::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.forum-sub-tab {
    padding: 6px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    min-width: auto;
}

.forum-sub-tab:hover {
    background: #e8e8e8;
}

.forum-sub-tab.active {
    background: #000;
    color: #fff;
    border-color: #000;
    font-weight: 500;
}

/* ===== 论坛对话框统一样式（手绘风格） ===== */
.forum-dialog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forum-dialog {
    background: #fff;
    border: 2px solid #000;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 6px 6px 0 #000;
}

.forum-dialog-title {
    padding: 18px 20px 12px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.forum-dialog-body {
    padding: 16px 20px;
}

.forum-dialog-footer {
    padding: 12px 20px 16px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.forum-dialog-field {
    margin-bottom: 14px;
}

.forum-dialog-label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}

.forum-dialog-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #000;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: box-shadow 0.2s;
}

.forum-dialog-input:focus {
    box-shadow: 3px 3px 0 #000;
}

.forum-dialog-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #000;
    border-radius: 10px;
    font-size: 14px;
    min-height: 80px;
    resize: vertical;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    transition: box-shadow 0.2s;
}

.forum-dialog-textarea:focus {
    box-shadow: 3px 3px 0 #000;
}

.forum-dialog-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #000;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    background: #fff;
    cursor: pointer;
}

.forum-dialog-btn {
    padding: 9px 18px;
    background: #f0f0f0;
    border: 2px solid #000;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.15s;
}

.forum-dialog-btn:active {
    transform: scale(0.96);
}

.forum-dialog-btn-primary {
    background: #000;
    color: #fff;
}

.forum-dialog-btn-danger {
    background: #fff;
    color: #e74c3c;
    border-color: #e74c3c;
}

.forum-dialog-list-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.15s;
}

.forum-dialog-list-item:last-child {
    border-bottom: none;
}

.forum-dialog-list-item:active {
    background: #f8f8f8;
}

/* ===== 角色选择器样式 ===== */

/* 创建论坛弹窗中的添加角色按钮 */
.forum-add-character-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 2px dashed #999;
    border-radius: 10px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.forum-add-character-btn:hover {
    border-color: #000;
    color: #000;
}

/* 已选角色容器 */
.forum-bound-characters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

/* 已选角色标签 */
.forum-bound-character-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    background: #f5f5f5;
    border: 1px solid #000;
    border-radius: 20px;
    font-size: 12px;
    color: #333;
}

.forum-bound-character-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.forum-bound-character-remove {
    margin-left: 2px;
    cursor: pointer;
    font-size: 14px;
    color: #999;
    line-height: 1;
}

.forum-bound-character-remove:hover {
    color: #e74c3c;
}

/* 角色选择器列表项 */
.forum-character-pick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s;
}

.forum-character-pick-item:last-child {
    border-bottom: none;
}

.forum-character-pick-item:active {
    background: #f0f0f0;
}

.forum-character-pick-item.selected {
    background: #f0f8ff;
}

.forum-character-pick-check {
    width: 22px;
    height: 22px;
    border: 2px solid #000;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.forum-character-pick-item.selected .forum-character-pick-check {
    background: #000;
    color: #fff;
}

.forum-character-pick-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.forum-character-pick-name {
    font-size: 14px;
    color: #333;
    flex: 1;
}

/* 论坛详情中的绑定角色展示 */
.forum-detail-characters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.forum-detail-character-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 5px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 20px;
    font-size: 12px;
}

.forum-detail-character-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.forum-detail-character-name {
    color: #333;
    font-weight: 500;
}

/* ===== 论坛管理弹窗标签页样式 ===== */
.forum-manage-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin: 0 20px;
}

.forum-manage-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.forum-manage-tab.active {
    color: #000;
    font-weight: bold;
}

.forum-manage-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #000;
    border-radius: 2px;
}

/* ===== 已创建论坛列表样式 ===== */
.forum-created-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forum-created-item {
    display: flex;
    align-items: center;
    padding: 14px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
}

.forum-created-item:hover {
    background: #f0f0f0;
    border-color: #ddd;
}

.forum-created-item:active {
    transform: scale(0.98);
}

.forum-created-item-info {
    flex: 1;
    min-width: 0;
}

.forum-created-item-name {
    font-size: 15px;
    font-weight: bold;
    color: #000;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-created-item-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-created-item-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #999;
}

.forum-created-item-arrow {
    font-size: 20px;
    color: #999;
    margin-left: 10px;
}
