/* ============================================================
   1. 全局布局基础
   ============================================================ */
#jitheme_ask_list .ask-item {
    padding: 16px 20px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 8px;
    transition: box-shadow 0.2s;
}
#jitheme_ask_list .ask-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
/* ============================================================
   【修复】终极完美版 Gujia 骨架屏 (不泛白、不乱码)
   ============================================================ */

/* 1. 闪动动画 */
@keyframes skeleton-shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

/* 2. 确保卡片本身保持白色背景，不变成灰色！ */
.gujia .ask-item {
    background: #fff !important;
}
.gujia .ask-item .item-wrap {
    background: transparent !important;
}

/* 3. 核心策略：只给内部具体的文字和方块元素上灰色 */
.gujia .ask-item .item-avatar,
.gujia .ask-item .author-name span,
.gujia .ask-item .ask-pay,
.gujia .ask-item .talk-title,
.gujia .ask-item .ask-desc,
.gujia .ask-item .rank-ask-img-box,
.gujia .ask-item .ask-answer-user-list .common-desc,
.gujia .ask-item .circle_bottom .bottomLeft___2cVLU span,
.gujia .ask-item .ask-footer span {
    background: #f0f2f5 !important;
    background-image: linear-gradient(90deg, #f0f2f5 0px, #e0e2e5 40px, #f0f2f5 80px) !important;
    background-size: 200px 100%;
    background-repeat: no-repeat;
    animation: skeleton-shimmer 1.5s infinite ease-in-out;
    color: transparent !important; /* 文字变透明 */
    border: none !important;
    border-radius: 4px;
}
/* 4. 隐藏真实渲染时才有的元素（图片、图标、SVG、徽章） */
.gujia .ask-item img,
.gujia .ask-item svg,
.gujia .ask-item .last-answer,
.gujia .ask-item .reward-icon,
.gujia .ask-item .images_imagesWrap,
.gujia .ask-item .preview-badge {
    display: none !important;
}

/* 5. 形状与尺寸恢复 (严格对齐真实列表的左文右图) */

/* 头像 */
.gujia .ask-item .item-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
}
.gujia .ask-item .author-name span {
    display: inline-block;
    width: 80px;
    height: 16px;
}
.gujia .ask-item .ask-pay {
    margin-left: auto;
    width: 60px;
    height: 22px;
    border-radius: 12px;
}

/* 主内容结构 */
.gujia .ask-item .item-entry {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}
.gujia .ask-item .item-entry .entry {
    display: flex;
    flex-direction: row;
    gap: 16px;
    text-decoration: none;
}
.gujia .ask-item .rank-ask-title-box {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gujia .ask-item .talk-title {
    height: 22px;
    width: 70%;
    margin-top: 15px;
}
.gujia .ask-item .ask-desc {
    height: 16px;
    width: 100%;
    margin: 0;
}
.gujia .ask-item .ask-desc.short {
    width: 70%;
}
.gujia .ask-item .rank-ask-img-box {
    width: 120px;
    height: 80px;
    border-radius: 6px;
    flex-shrink: 0;
}

/* 优质回答区 */
.gujia .ask-item .ask-answer-user-list {
    display: flex;
    align-items: center;
    background: #f6fbf6 !important; /* 背景保持浅绿 */
    padding: 6px 12px;
    border-radius: 4px;
    height: 32px;
    width: 100%;
    border-left: 3px solid #d0d0d0;
}
.gujia .ask-item .ask-answer-user-list .common-desc {
    width: 85%;
    height: 16px;
}

/* 底部信息区 */
.gujia .ask-item .circle_bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f2f5 !important;
}
.gujia .ask-item .circle_bottom .bottomLeft___2cVLU span {
    display: inline-block;
    height: 16px;
    width: 60px;
}
.gujia .ask-item .ask-footer span {
    display: inline-block;
    height: 16px;
    width: 40px;
    margin-left: 10px;
}
/* ============================================================
   2. 顶部用户区（头像+名字+悬赏）
   ============================================================ */
#jitheme_ask_list .ask-item .item-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
#jitheme_ask_list .ask-item .item-avatar img {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
}
#jitheme_ask_list .ask-item .author-name {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
#jitheme_ask_list .ask-item .author-name strong a {
    font-weight: 600;
    color: #1f2329;
    text-decoration: none;
}
#jitheme_ask_list .ask-item .author-name strong a:hover {
    color: #1a73e8;
}
#jitheme_ask_list .ask-item .author-name span a.red {
    color: #ff6b00;
    font-weight: 600;
}
#jitheme_ask_list .ask-item .ask-item-top {
    display: none !important;
}

/* ============================================================
   3. 右上角悬赏 (仅图标+数字)
   ============================================================ */
#jitheme_ask_list .ask-item .ask-pay {
    display: flex;
    align-items: center;
    margin-left: auto;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 2px 10px 2px 4px;
    border-radius: 14px;
    gap: 2px;
    flex-shrink: 0;
}
#jitheme_ask_list .ask-item .ask-pay .reward-icon {
    display: inline-flex;
    align-items: center;
}
#jitheme_ask_list .ask-item .ask-pay .ask-reward,
#jitheme_ask_list .ask-item .ask-pay .ask-pay-type {
    display: none !important;
}
#jitheme_ask_list .ask-item .ask-pay .ask-pay-number {
    display: flex;
    align-items: center;
}
#jitheme_ask_list .ask-item .ask-pay .ask-pay-number b {
    font-weight: 700;
    color: #92400e;
}

/* ============================================================
   4. 核心布局 (父级 - A标签在上，优质回答在下)
   ============================================================ */
#jitheme_ask_list .ask-item .item-entry {
    display: flex;
    flex-direction: column;
    gap: 8px; /* 上方卡片与下方绿条回答的间距 */
}

/* ============================================================
   5. 卡片主体布局 (A标签内：左文右图、无图通栏)
   ============================================================ */
#jitheme_ask_list .ask-item .item-entry .entry {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    text-decoration: none;
}
#jitheme_ask_list .ask-item .rank-ask-title-box {
    flex: 1;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 标题 */
#jitheme_ask_list .ask-item .talk-title {
    margin: 0 0 4px 0;
    color: #1f2329;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.4;
}

/* 已解决标签 */
#jitheme_ask_list .ask-item .talk-title .last-answer { display: flex; }
#jitheme_ask_list .ask-item .talk-title .last-answer .answer-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #eaf7ea;
    color: #00a65a;
    padding: 2px 10px 2px 6px;
    border-radius: 12px;
    font-weight: 500;
    line-height: 1;
    height: 24px;
    box-sizing: border-box;
    margin-top: 2px;
}
#jitheme_ask_list .ask-item .talk-title .last-answer .answer-ok svg {
    width: 14px;
    height: 14px;
    fill: #00a65a !important;
    color: #00a65a !important;
    flex-shrink: 0;
}

/* 摘要 */
#jitheme_ask_list .ask-item .ask-desc {
    font-size: 14px;
    color: #5f6368;
    line-height: 1.8;
    margin-top: 4px;
    margin-bottom: 6px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 右侧图片 (无图自动不占位) */
#jitheme_ask_list .ask-item .rank-ask-img-box {
    /* 确保没有图时不占用任何空间 */
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    margin-left: 10px; /* 图片和左侧文字的间距 */
}

/* 如果图片容器里没有子元素（即图片没了），直接彻底隐藏（双重保险） */
#jitheme_ask_list .ask-item .rank-ask-img-box:empty {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
#jitheme_ask_list .ask-item .rank-ask-img-box:has(img) {
    width: 120px;
    height: 80px;
    min-height: 80px;
}
#jitheme_ask_list .ask-item .rank-ask-img-box > div:not(:first-child) {
    display: none !important;
}
#jitheme_ask_list .ask-item .rank-ask-img-box > div:first-child,
#jitheme_ask_list .ask-item .rank-ask-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   6. 优质回答 (独立绿条，单行截断)
   ============================================================ */
#jitheme_ask_list .ask-item .ask-answer-user-list {
    display: flex;
    align-items: center;
    background: #f6fbf6;
    padding: 6px 12px;
    border-radius: 4px;
    color: #4e5969;
    border-left: 3px solid #52c41a; /* 左侧醒目绿条 */
    overflow: hidden;
    width: 100%;
}
#jitheme_ask_list .ask-item .ask-answer-user-list .common-desc {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    gap: 6px;
    font-size: 14px;
    margin-bottom: 0;
}
#jitheme_ask_list .ask-item .ask-answer-user-list .common-desc .preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #52c41a;
    color: #fff;
    padding: 1px 10px 1px 6px;
    border-radius: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}
#jitheme_ask_list .ask-item .ask-answer-user-list .common-desc .preview-badge svg {
    width: 14px;
    height: 14px;
    fill: #fff !important;
    color: #fff !important;
}
#jitheme_ask_list .ask-item .ask-answer-user-list .common-desc .answer-name {
    color: #1f2329;
    font-weight: 600;
    flex-shrink: 0;
}
#jitheme_ask_list .ask-item .ask-answer-user-list .common-desc sapn {
    color: #999;
    flex-shrink: 0;
}
#jitheme_ask_list .ask-item .ask-answer-user-list .common-desc .ask-answer-user-con {
    overflow: hidden;
    text-overflow: ellipsis;
    color: #666;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
}
#jitheme_ask_list .ask-item .ask-answer-user-list .common-desc i {
    display: none !important;
}

/* ============================================================
   7. 底部标签和统计
   ============================================================ */
#jitheme_ask_list .ask-item .circle_bottom {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #f0f2f5;
    padding-top: 10px;
}
#jitheme_ask_list .ask-item .bottomLeft___2cVLU a {
    padding: 1px 10px;
    border-radius: 4px;
    margin-right: 6px;
    display: inline-block;
    text-decoration: none;
}
#jitheme_ask_list .ask-item .ask-footer {
    display: flex;
    gap: 12px;
    align-items: center;
}
#jitheme_ask_list .ask-item .ask-footer span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #8f959e;
}
#jitheme_ask_list .ask-item .ask-footer em {
    font-style: normal;
    color: #5f6368;
}


































/* ============================================================
   1. 容器全局样式覆盖
   ============================================================ */
.publish-modern-wrapper {
    max-width: 820px;
    margin: 0 auto;
    padding: 28px 30px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
    position: relative;
}

/* ============================================================
   2. 顶部头部 (头像与名字)
   ============================================================ */
.publish-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 24px;
}
.header-avatar .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e8ecf1;
}
.header-info .header-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2329;
}
.header-info .header-desc {
    font-size: 13px;
    color: #8f959e;
    margin-top: 2px;
}

/* ============================================================
   3. 表单元素通用
   ============================================================ */
.publish-form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-item {
    width: 100%;
}
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    font-size: 15px;
    background: #f9fafc;
    outline: none;
    transition: all 0.25s ease;
}
.form-input:focus {
    border-color: #ff8c42;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.08);
}
.form-input::placeholder {
    color: #b0b5bd;
}

/* ============================================================
   4. 悬赏折叠区
   ============================================================ */
.reward-toggle .toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #1f2329;
    font-weight: 500;
}
.reward-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ff8c42;
    cursor: pointer;
}
.reward-box {
    margin-top: 14px;
    padding: 16px 18px;
    background: #f7f9fc;
    border-radius: 10px;
    border: 1px solid #eef0f4;
}
.reward-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}
.reward-row .label {
    font-size: 13px;
    color: #8f959e;
    margin-right: 4px;
}
.reward-type-select span {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    background: #eef0f4;
    color: #5f6368;
    cursor: pointer;
    margin-right: 6px;
    transition: all 0.2s;
}
.reward-type-select span.picked {
    background: #ff8c42;
    color: #fff;
}
.mini-input {
    width: 80px;
    padding: 6px 10px;
    border: 1px solid #e4e6eb;
    border-radius: 6px;
    background: #fff;
    text-align: center;
    font-size: 14px;
    outline: none;
}
.mini-input:focus {
    border-color: #ff8c42;
}
.reward-notice {
    margin-top: 12px;
    font-size: 13px;
    color: #5f6368;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 16px;
}
.reward-notice b {
    color: #1f2329;
}
.reward-notice .gray {
    color: #b0b5bd;
}

/* ============================================================
   5. 分类与标签
   ============================================================ */
.tags-cats-row .cats-select-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f5f6f8;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #1f2329;
}
.selected-tag b {
    cursor: pointer;
    color: #999;
    font-weight: normal;
    font-size: 14px;
}
.add-cat-btn {
    position: relative;
    cursor: pointer;
}
.add-cat-btn span {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f6f8;
    border-radius: 20px;
    font-size: 13px;
    color: #5f6368;
    transition: background 0.2s;
}
.add-cat-btn span:hover {
    background: #eef0f4;
}
.add-cat-btn select {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* ============================================================
   6. 富文本编辑器 (封装得和输入框一样)
   ============================================================ */
.editor-box {
    position: relative;
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    background: #f9fafc;
    transition: all 0.25s ease;
}
.editor-box:focus-within {
    border-color: #ff8c42;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.08);
}
.editor-box #ask-edit-content {
    display: none;
}
.editor-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: #b0b5bd;
    font-size: 15px;
    cursor: text;
}
.editor-placeholder svg {
    fill: #b0b5bd;
}
.editor-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-top: 1px solid #f0f2f5;
    background: #fcfcfd;
    border-radius: 0 0 8px 8px;
}
.tool-left {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tool-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s;
}
.tool-icon svg {
    fill: #8f959e;
}
.tool-icon:hover {
    background: #eef0f4;
    color: #1f2329;
}
.tool-icon:hover svg {
    fill: #1f2329;
}
.tool-right .tool-status {
    font-size: 12px;
    color: #b0b5bd;
}

/* ============================================================
   7. 已邀请用户
   ============================================================ */
.invited-users-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.invited-label {
    font-size: 14px;
    color: #5f6368;
    margin-right: 4px;
}
.invited-label .badge {
    background: #ff8c42;
    color: #fff;
    border-radius: 50%;
    padding: 0 6px;
    font-size: 12px;
    display: inline-block;
    min-width: 18px;
    text-align: center;
}
.invited-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.invited-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f5f6f8;
    padding: 4px 6px 4px 4px;
    border-radius: 20px;
    font-size: 13px;
}
.invited-item .avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.invited-item b {
    cursor: pointer;
    color: #999;
    font-weight: normal;
    font-size: 14px;
    padding: 0 4px;
}

/* ============================================================
   8. 底部操作栏 (发布与邀请)
   ============================================================ */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.invite-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: #5f6368;
    background: #f5f6f8;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.invite-btn:hover {
    background: #eef0f4;
    color: #1f2329;
}
.invite-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.publish-btn {
    padding: 12px 40px;
    background: linear-gradient(135deg, #ff9a56, #ff7a2f);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 122, 47, 0.25);
}
.publish-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 122, 47, 0.35);
}
.publish-btn:active {
    transform: translateY(0);
}

/* ============================================================
   9. 移动端响应式
   ============================================================ */
@media (max-width: 600px) {
    .publish-modern-wrapper {
        padding: 16px !important;
        border-radius: 0 !important;
        margin: 0 -12px;
    }
    .reward-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .mini-input {
        width: 100%;
        text-align: left;
    }
    .form-footer {
        flex-direction: column-reverse;
        gap: 12px;
    }
    .invite-btn {
        width: 100%;
        justify-content: center;
    }
    .publish-btn {
        width: 100%;
        justify-content: center;
        display: flex;
    }
    .editor-toolbar {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* 外层容器 */
.rank-ask-img-box {
    display: flex;
    align-items: flex-start;
}

/* 单张图片外层 */
.images_imagesWrap {
    position: relative; /* 关键：为内部的 absolute 标签提供定位基准 */
    width: 100px;       /* 图片宽度，根据您的实际需求调整 */
    height: 80px;       /* 图片高度，根据您的实际需求调整 */
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

/* 图片本身 */
.images_imagesWrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- 右上角透明灰色背景数量标签 --- */
/* 只显示极小的右上角标签，不覆盖图片 */
#jitheme_ask_list .ask-item .rank-ask-img-box .moreImgeTip {
    position: absolute;
    top: 4px;           /* 距离右上角边缘留一点小缝隙，更好看 */
    right: 4px;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑灰底色 */
    color: #ffffff;
    /* 字体设置小一点 */
    font-size: 12px;     
    /* 小气泡角标的设置（去掉了宽高限制，由 padding 决定大小） */
    width: auto;      
    height: auto;
    padding: 2px 5px;   /* 给文字周围留有很小的呼吸空间 */
    border-radius: 3px; /* 细微的圆角，不突兀 */
    
    pointer-events: none; /* 确保用户可以点击图片本身跳转，不会点到数字 */
}
































/* --- 1. 新建外层白底容器，应用指定阴影 --- */
#ask_global_container {
    background: #ffffff;
    padding: 30px 20px 10px 20px; /* 上右下左，底部内边距调小，因为下面有下划线 */
    border-radius: 12px;
    margin-bottom: 30px;
    /* 您指定的完美阴影 */
    box-shadow: 0px 4px 16px 0px rgba(22, 23, 47, .08);
}

/* --- 2. 顶部文字统计 --- */
#ask_stats_header {
    text-align: center;
    margin-bottom: 25px;
    color: #666;
    font-size: 16px;
}
#ask_stats_header .stats-number {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin: 0 5px;
}

/* --- 3. 搜索行布局 --- */
#ask_action_row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* 适配小屏 */
    margin-bottom: 30px;
}
#ask_search_wrapper {
    flex: 1;
    max-width: 500px;
    min-width: 200px;
}
#ask_search_form_box {
    border: 1px solid #e5e9ef;
    border-radius: 6px;
    padding: 0 15px;
    background: #fff;
    transition: border-color 0.3s;
}
#ask_search_form_box:focus-within {
    border-color: #4a90e2;
}
#ask_search_input {
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    background: transparent;
    color: #333;
}
#ask_search_input::placeholder {
    color: #b0b0b0;
}

/* --- 4. 按钮扁平化 (纯色/无渐变) --- */
.ask-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 25px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    gap: 6px;
    box-sizing: border-box;
}
/* 搜索按钮 (白底蓝边) */
#ask_btn_search {
    background: #fff;
    border: 1px solid var(--b2color);
    color: var(--b2color);
}
#ask_btn_search:hover {
    background: #f0f7ff;
}
/* 提问按钮 (蓝底白字) */
#ask_btn_ask {
    background: var(--b2color);
    border: 1px solid var(--b2color);
    color: #fff;
}
#ask_btn_ask:hover {
    background: var(--b2color);
    color: #fff;
}
/* 分割文字 */
#ask_divider {
    color: #ccc;
    font-size: 14px;
}

/* --- 5. 底部筛选栏 (居中+均匀分布+3px下划线) --- */
#ask_filter_bar {
    display: flex;
    justify-content: center; /* 整体居中 */
}
#ask_filter_tabs_box {
    display: flex;
    gap: 60px; /* 标签之间的均匀间距 */
    /* border-bottom: 1px solid #f0f0f0; */
    padding-bottom: 12px;
    width: 100%;
    /* max-width: 500px; */ /* 限制宽度让居中显得更集中 */
    justify-content: center;
}
#ask_filter_tabs_box span {
    background: #fff; /* 确保白底 */
    color: #888;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    padding: 0 0 4px 0;
    transition: color 0.2s;
}
#ask_filter_tabs_box span:hover {
    color: #555;
}

/* 激活状态：3px 下划线 */
#ask_filter_tabs_box span.picked {
    font-weight: 600;
    color: var(--b2color);
}
#ask_filter_tabs_box span.picked::after {
    content: '';
    position: absolute;
    bottom: -13px; /* 由于有父级 padding-bottom，这里要精确对齐底线 */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--b2color);
    border-radius: 2px;
}

/* --- 6. 手机端适配 --- */
@media (max-width: 600px) {
    #ask_action_row {
        flex-direction: column;
        align-items: stretch;
    }
    #ask_search_wrapper {
        min-width: 100%;
    }
    #ask_filter_tabs_box {
        gap: 20px;
        overflow-x: auto;
        justify-content: flex-start;
        max-width: 100%;
    }
    #ask_filter_tabs_box span {
        white-space: nowrap;
    }
}







