@charset "UTF-8";

/* ==================== 线程列表美化 ==================== */
.threadlist li.thread {
    position: relative;
    margin: 4px 0;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    background: transparent;
    box-shadow: none;
}

.threadlist li.thread:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

/* 置顶线程特殊样式 */
.threadlist li.thread.top_3 {
    border-left: none;
    background: transparent;
}

.threadlist li.thread.top_1 {
    border-left: none;
    background: transparent;
}

/* ==================== 主题标题美化 ==================== */
.threadlist .subject,
.style3_subject {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #0f172a;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.threadlist .subject:hover,
.style3_subject:hover {
    color: #3b82f6;
    text-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

/* 摘要文本美化 */
.threadlist_brief {
    color: #64748b;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.threadlist_brief:hover {
    color: #475569;
}

/* ==================== 用户信息美化 ==================== */
.threadlist .username {
    font-weight: 500;
    color: #3b82f6;
    transition: color 0.3s ease;
}

.threadlist .username:hover {
    color: #2563eb;
    text-decoration: underline;
}

.threadlist .date {
    color: #94a3b8;
    font-size: 13px;
}

/* ==================== 标签和徽章美化 ==================== */
.threadlist .badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    margin-right: 4px;
    transition: all 0.3s ease;
}

.threadlist .badge.jb-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(236, 72, 153, 0.2);
}

.threadlist .badge.jb-yellow {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

/* ==================== 统计信息美化 ==================== */
.threadlist .far.fa-eye,
.threadlist .far.fa-comment-dots {
    color: #94a3b8;
    margin-right: 4px;
    transition: color 0.3s ease;
}

.threadlist li.thread:hover .far.fa-eye,
.threadlist li.thread:hover .far.fa-comment-dots {
    color: #3b82f6;
}

/* ==================== 图片预览美化 ==================== */
.subject_body_img {
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subject_body_img:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

/* ==================== 分页美化 ==================== */
.pagination {
    margin: 24px 0;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 4px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    color: #64748b;
    background: white;
}

.pagination .page-link:hover {
    color: #3b82f6;
    border-color: #3b82f6;
    background: #eff6ff;
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* ==================== 卡片美化 ==================== */
.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

/* ==================== 导航标签美化 ==================== */
.nav-tabs .nav-link {
    border-radius: 8px 8px 0 0;
    margin-right: 8px;
    transition: all 0.3s ease;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-bottom: none;
}

.nav-tabs .nav-link:hover {
    color: #3b82f6;
    background: #eff6ff;
    border-color: #93c5fd;
}

.nav-tabs .nav-link.active {
    background: white;
    color: #3b82f6;
    border-color: #3b82f6 #3b82f6 transparent;
    box-shadow: 0 4px 0 white;
}

/* ==================== 响应式优化 ==================== */
@media (max-width: 768px) {
    .threadlist li.thread {
        padding: 10px 0;
        margin: 2px 0;
    }
    
    .threadlist .subject {
        font-size: 18px;
    }
    
    .threadlist_brief {
        font-size: 13px;
    }
}

/* ==================== 动画效果 ==================== */
/* 移除线程列表动画效果以适应简洁列表样式 */

/* ==================== 背景美化 ==================== */
#index_page, body {
    background: linear-gradient(135deg, rgba(250, 250, 250, 0.9) 0%, rgba(235, 235, 235, 0.8) 100%);
    background-attachment: fixed;
}

/* ==================== 按钮美化 ==================== */
.btn {
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 8px 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.4);
}

/* ==================== 头像美化 ==================== */
.avatar-1, .avatar-3, .avatar-4 {
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.avatar-1:hover, .avatar-3:hover, .avatar-4:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ==================== 站点信息卡片美化 ==================== */
.card-site-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid #dbeafe;
}

.card-site-info .site-info-logo {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-site-info .site-info-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ==================== 精华主题图标美化 ==================== */
/* 精华图标基础样式 */
.icon-digest-1, .icon-digest-2, .icon-digest-3 {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: middle;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* 一级精华图标 */
.icon-digest-1 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

/* 二级精华图标 */
.icon-digest-2 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

/* 三级精华图标 */
.icon-digest-3 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

/* 鼠标悬停效果 */
.icon-digest-1:hover, .icon-digest-2:hover, .icon-digest-3:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ==================== 标签TAG插件美化 ==================== */
/* 标签基础样式 */
.threadlist .badge {
    margin-right: 6px;
    margin-bottom: 4px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
}

/* 不同颜色标签的美化 */
.threadlist .badge-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.threadlist .badge-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(100, 116, 139, 0.2);
}

.threadlist .badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.threadlist .badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.threadlist .badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.threadlist .badge-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(6, 182, 212, 0.2);
}

.threadlist .badge-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #334155;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.threadlist .badge-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    box-shadow: 0 2px 4px rgba(30, 41, 59, 0.2);
}

/* 标签悬停效果 */
.threadlist .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    opacity: 0.9;
}

/* 标签选中状态 */
.threadlist .badge:active {
    transform: translateY(0);
}

/* 标签在标题下方的间距 */
.threadlist .subject + .badge {
    margin-top: 2px;
}

/* ==================== 自定义滚动条 ==================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ==================== 返回顶部按钮美化 ==================== */
.goTop {
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: white;
    color: #94a3b8;
    font-size: 18px;
    line-height: 40px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 9999;
    border: 1px solid #e2e8f0;
    outline: none;
}

.goTop:hover {
    background: #f1f5f9;
    color: #64748b;
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .goTop {
        width: 36px;
        height: 36px;
        font-size: 16px;
        line-height: 36px;
        bottom: 30px;
        right: 20px;
    }
}
