/* 论坛+嵌套评论+表情包 样式 — 从 extras.css 拆分 */
/* --- 楼中楼 (嵌套评论) 样式 --- */
.discussion-floor {
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
}

.floor-main-content {
    display: flex;
    gap: 12px;
}

/* 楼层头像 */
.floor-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px; /* 方圆形，像贴吧/NGA */
    background: #e6e6e6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

.floor-body {
    flex-grow: 1;
}

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

.floor-author {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.floor-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 8px;
    align-items: center;
}

.floor-index {
    background: #f0f2f5;
    padding: 1px 6px;
    border-radius: 4px;
}

.floor-text {
    font-size: 15px;
    line-height: 1.6;
    color: #1f1f1f;
    margin-bottom: 8px;
}

/* 楼中楼区域 */
.nested-replies-box {
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 10px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nested-item {
    font-size: 13px;
    line-height: 1.5;
}

.nested-author {
    color: #007AFF; /* 蓝色名字 */
    font-weight: 500;
}

.nested-content {
    color: #555;
}

/* 帖子底部的互动数据条 */
.post-interaction-bar {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
    background: #fff;
}

.interaction-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.interaction-btn.active {
    color: var(--accent-color); /* 激活色 */
}
.interaction-btn.active svg {
    fill: var(--accent-color);
}

/* --- 表情包库 V2.0 (分组+批量管理) --- */
.sticker-modal-layout { display: flex; height: 100%; overflow: hidden; position: relative; }
.sticker-sidebar { width: 90px; background-color: #f7f7f7; border-right: 1px solid var(--border-color); overflow-y: auto; flex-shrink: 0; display: flex; flex-direction: column; }
.sticker-group-item { padding: 12px 8px; text-align: center; cursor: pointer; font-size: 13px; color: var(--secondary-text); border-bottom: 1px solid transparent; transition: all 0.2s; border-left: 3px solid transparent; }
.sticker-group-item:hover { background-color: #eee; }
.sticker-group-item.active { background-color: #fff; color: var(--accent-color); font-weight: 600; border-left-color: var(--accent-color); }
.sticker-main-area { flex-grow: 1; display: flex; flex-direction: column; overflow: hidden; background-color: #fff; }
.sticker-toolbar { padding: 8px 12px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; background: #fff; flex-shrink: 0; }

/* 批量选择模式样式 */
.sticker-item.batch-mode .delete-overlay { display: none !important; } /* 批量模式下隐藏原本的删除按钮 */
.sticker-item.batch-mode { opacity: 0.6; border: 2px solid transparent; transition: all 0.1s; }
.sticker-item.batch-mode.selected { opacity: 1; transform: scale(0.9); border-color: var(--accent-color); box-shadow: 0 4px 12px rgba(0,122,255,0.2); }
.sticker-item.batch-mode::after {
    content: ''; position: absolute; top: 4px; right: 4px; width: 16px; height: 16px; 
    border-radius: 50%; border: 1px solid #ccc; background: white;
}
.sticker-item.batch-mode.selected::after {
    background-color: var(--accent-color); border-color: var(--accent-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 10px; background-position: center; background-repeat: no-repeat;
}

/* 分组操作按钮 */
.group-add-btn { text-align: center; padding: 10px; cursor: pointer; color: var(--secondary-text); border-top: 1px solid var(--border-color); margin-top: auto; }
.group-add-btn:hover { color: var(--accent-color); }
