/* AI 学习社区 - 帖子页操作按钮美化 */

/* 发表回复按钮 */
.pns a, .pnc a, .tatt a, .pnpost a {
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3) !important;
    transition: all 0.3s !important;
    display: inline-block !important;
}

.pns a:hover, .pnc a:hover, .tatt a:hover, .pnpost a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5) !important;
}

/* 发表回复旁边的小按钮（表情/附件等） */
.pns .p_pop, .pnc .p_pop, .tatt .p_pop {
    background: rgba(15, 20, 40, 0.8) !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    transition: all 0.3s !important;
}

.pns .p_pop:hover, .pnc .p_pop:hover, .tatt .p_pop:hover {
    border-color: rgba(0, 212, 255, 0.5) !important;
    background: rgba(0, 212, 255, 0.1) !important;
}

.pns .p_pop a, .pnc .p_pop a, .tatt .p_pop a {
    background: transparent !important;
    border: none !important;
    color: #8fa3bf !important;
    box-shadow: none !important;
    padding: 2px 6px !important;
    font-size: 14px !important;
}

/* 返回列表按钮 */
.flt .z a, .tatt a[href*="forum.php"], .pgt a[href*="forum.php"] {
    background: rgba(15, 20, 40, 0.8) !important;
    color: #8fa3bf !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
}

.flt .z a:hover, .tatt a[href*="forum.php"]:hover, .pgt a[href*="forum.php"]:hover {
    background: rgba(0, 212, 255, 0.1) !important;
    color: #00d4ff !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
}

/* 浏览过的版块 */
.bm .flg, .bm .flm, .bm .mt {
    background: rgba(15, 20, 40, 0.6) !important;
    border: 1px solid rgba(0, 212, 255, 0.1) !important;
    border-radius: 10px !important;
    padding: 16px !important;
    margin: 10px 0 !important;
}

.bm .flg h4, .bm .flm h4, .bm .mt h4 {
    color: #e0ecff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1) !important;
}

.bm .flg a, .bm .flm a, .bm .mt a {
    color: #8fa3bf !important;
    font-size: 13px !important;
    text-decoration: none !important;
    line-height: 2 !important;
    transition: all 0.2s !important;
    display: block !important;
    padding: 2px 0 !important;
}

.bm .flg a:hover, .bm .flm a:hover, .bm .mt a:hover {
    color: #00d4ff !important;
    padding-left: 4px !important;
}

/* 帖子页顶部操作栏 */
.tatt, .pnpost, .pns, .pnc {
    background: transparent !important;
    border: none !important;
}

/* 帖子标题栏 */
#thread_subject, .ts {
    color: #e0ecff !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

/* 作者信息区 */
.pls .avatar, .pls .avatar img {
    border-radius: 10px !important;
}

/* 帖子内容区 */
.t_f, .t_fs {
    color: #c0d0e0 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}


/* 返回列表按钮（右上角） */
.pgt .z a, .pg .z a, .tatt .y a {
    background: rgba(15, 20, 40, 0.8) !important;
    color: #8fa3bf !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    display: inline-block !important;
}

.pgt .z a:hover, .pg .z a:hover, .tatt .y a:hover {
    background: rgba(0, 212, 255, 0.1) !important;
    color: #00d4ff !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
}

/* 浏览过的版块 */
.bm .flg, .bm .flm {
    background: rgba(15, 20, 40, 0.6) !important;
    border: 1px solid rgba(0, 212, 255, 0.1) !important;
    border-radius: 10px !important;
    padding: 16px !important;
    margin: 10px 0 !important;
}

.bm .flg h4, .bm .flm h4 {
    color: #e0ecff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1) !important;
}

.bm .flg a, .bm .flm a {
    color: #8fa3bf !important;
    font-size: 13px !important;
    text-decoration: none !important;
    line-height: 2 !important;
    transition: all 0.2s !important;
    display: block !important;
    padding: 2px 0 !important;
}

.bm .flg a:hover, .bm .flm a:hover {
    color: #00d4ff !important;
    padding-left: 4px !important;
}

/* 帖子页顶部操作栏整体 */
.tatt, .pnpost {
    background: transparent !important;
    border: none !important;
    margin: 16px 0 !important;
}

/* 发新帖/回复按钮组 */
.tatt .z a:first-child {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3) !important;
}

.tatt .z a:last-child {
    background: rgba(15, 20, 40, 0.8) !important;
    color: #00d4ff !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 500 !important;
}

/* 管理操作按钮 */
.tatt .y a, .tatt .y .p_pop {
    background: rgba(15, 20, 40, 0.8) !important;
    color: #8fa3bf !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    transition: all 0.3s !important;
}

.tatt .y a:hover {
    background: rgba(0, 212, 255, 0.1) !important;
    color: #00d4ff !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
}


/* 返回列表按钮（正确选择器） */
.pgs .y a, .pgb a, .pgt .y a {
    background: rgba(15, 20, 40, 0.8) !important;
    color: #8fa3bf !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    display: inline-block !important;
}

.pgs .y a:hover, .pgb a:hover, .pgt .y a:hover {
    background: rgba(0, 212, 255, 0.1) !important;
    color: #00d4ff !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
}

/* 确保容器背景透明 */
.pgs, .pgb, .pgt {
    background: transparent !important;
    border: none !important;
}
