
/* ========== 强化配置清单 - 每一行清晰展示 ========== */
.config-list {
    background: #f9fafc;
    border-radius: 24px;
    padding: 14px 16px;
    margin: 12px 0 8px;
}
.config-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f8;
}
.config-item:last-child {
    border-bottom: none;
}
.config-type {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #2d3e50;
    width: 90px;
}
.config-type i {
    width: 24px;
    font-size: 16px;
    color: #6c5ce7;
}
.config-name {
    flex: 1;
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}
.config-price { 
    font-weight: 600;
    color: #5b4bc4;
    font-size: 14px;
    white-space: nowrap;
}
.xinyue_container {
    background: #f0f2f8;
}

/* 主容器 */
.tang_post_container {
    max-width: 100%;
    margin: 0 auto;
}

/* 返回导航 */
.tang_post_nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.tang_post_back_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: 0.2s;
}
.tang_post_back_btn:active {
    transform: scale(0.96);
    background: #f8fafc;
}
.tang_post_breadcrumb {
    font-size: 13px;
    color: #8192aa;
}

/* 主卡片 */
.tang_post_card {
    background: white;
    padding: 24px 20px;
    margin-bottom: 20px;
    border: 1px solid #eef2f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

/* 用户信息区 */
.tang_post_user_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}
.tang_post_user_info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.tang_post_avatar {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, #eef2ff, #e9e6ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    color: #5b4bc4;
}
.tang_post_avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.tang_post_user_details {
    display: flex;
    flex-direction: column;
}
.tang_post_user_name {
    font-weight: 700;
    font-size: 17px;
    color: #0f1825;
}
.tang_post_meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 12px;
    color: #8192aa;
}
.tang_post_badge {
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 500;
    color: #5b6e8c;
}

/* 管理按钮组 */
.post-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.post-action-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 30px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.post-action-btn:hover {
    background: #e2e8f0;
}
.post-action-btn.danger {
    color: #ef4444;
}
.post-action-btn.danger:hover {
    background: #fee2e2;
}

/* 帖子标题和内容 */
.tang_post_title {
    font-size: 22px;
    font-weight: 700;
    color: #0f1825;
    line-height: 1.3;
    margin: 8px 0 14px;
}
.tang_post_content {
    font-size: 15px;
    color: #2c3e50;
}

.tang_post_content p {
    margin-bottom: 20px;
    font: 16px / 30px 'Microsoft Yahei';
    word-break: normal;
    word-wrap: break-word;
}

.tang_post_content br {
}
/* 硬件标签 */
.tang_post_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 14px;
}
.tang_post_tag {
    background: #f1f5f9;
    padding: 5px 15px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 500;
    color: #2d3e50;
}
.tang_post_tag.highlight {
    background: #e9e6ff;
    color: #6c5ce7;
}

/* 配图区（横向滚动） */
.tang_post_images {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin: 16px 0 20px;
    padding-bottom: 4px;
}
.tang_post_img_item {
    width: 110px;
    height: 110px;
    background: #eef2f8;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
    color: #94a3b8;
}
.tang_post_img_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* 互动栏 */
.tang_post_stats {
    display: flex;
    gap: 28px;
    padding: 16px 0 8px;
    border-top: 1px solid #eff3f8;
    border-bottom: 1px solid #eff3f8;
    margin: 8px 0 20px;
}
.tang_post_stat_item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5a6e8c;
}
.tang_post_like_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 40px;
    transition: 0.2s;
}
.tang_post_like_btn.active {
    color: #ef4444;
}

/* 评论区 */
.comment-tree {
    list-style: none;
    margin: 0;
    padding: 0;
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #eef2f8;
}
.comment-item {
    margin-bottom: 20px;
}
.comment-main {
    display: flex;
    gap: 12px;
}
.comment-avatar {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}
.comment-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.comment-body {
    flex: 1;
}
.comment-name {
    font-weight: 600;
    font-size: 14px;
    color: #0f1825;
}
.comment-time {
    font-size: 10px;
    color: #94a3b8;
    margin-left: 8px;
}
.comment-text {
    font-size: 14px;
    color: #334155;
    margin-top: 4px;
    line-height: 1.4;
}
.comment-actions {
    margin-top: 6px;
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #8192aa;
}
.comment-like-btn, .comment-reply-btn, .comment-del-btn {
    cursor: pointer;
}
.reply-input-area {
    margin-top: 12px;
    margin-left: 48px;
    display: flex;
    gap: 8px;
    align-items: center;
}
.reply-input {
    flex: 1;
    background: #f8fafd;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    padding: 8px 16px;
    font-size: 13px;
    outline: none;
}
.reply-submit {
    background: #6c5ce7;
    border: none;
    border-radius: 40px;
    padding: 6px 18px;
    color: white;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}
.reply-submit:active {
    transform: scale(0.96);
}
/* 嵌套回复缩进样式 */
.comment-replies {
    margin-left: 48px;
    margin-top: 12px;
    padding-left: 12px;
    border-left: 2px solid #eef2f8;
}
.comment-replies .comment-item {
    margin-bottom: 12px;
}
.empty_comments {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}
.tang_post_comment_title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tang_post_comment_input_wrap {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    align-items: flex-start;
    position: relative;
}
.tang_post_comment_input_wrap_fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}   
@media (min-width: 768px) {
    .tang_post_comment_input_wrap_fill {
        display: none;
    }
}

.tang_post_comment_avatar_small {
    width: 40px;
    height: 40px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.tang_post_comment_field {
    flex: 1;
    background: #f8fafd;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
    font-family: inherit;
    resize: vertical;
}
.tang_post_comment_field:focus {
    border-color: #6c5ce7;
    background: white;
}
.tang_post_comment_submit {
    background: #6c5ce7;
    border: none;
    border-radius: 40px;
    padding: 0 20px;
    height: 44px;
    font-weight: 600;
    color: white;
    cursor: pointer;
}
.tang_post_pic {
    max-width: 600px;
    margin: 15px auto;
    text-align: center;
}
.tang_post_pic img {
    max-width: 100%;
}
@media (max-width: 480px) {
    body {
        padding:0;
        background: #ffffff;
    }
    .tang_post_title {
        font-size: 20px;
    }
    .tang_post_img_item {
        width: 85px;
        height: 85px;
    }
    .tang_post_comment_field {
        padding: 10px 14px;
    }
    .xinyue_container{
        padding:16px;
    }
}

