* { margin: 0; padding: 0; box-sizing: border-box; }
/* ========== 全局基础 ========== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #ebedf0;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.6;
}
.hidden { display: none !important; }
/* ========== 整体布局 ========== */
.layout { display: flex; height: 100vh; }
/* ========== 左侧侧边栏 ========== */
.sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #f4f5f7;
    border-right: 1px solid #dcdfe6;
    display: flex;
    flex-direction: column;
   }

.sidebar-user {
    padding: 16px;
    border-bottom: 1px solid #dcdfe6;
}

.user-info { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.user-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 600;
}
.user-account { font-size: 15px; font-weight: 500; color: #1f2937; }
.user-logout { font-size: 12px; color: #666; cursor: pointer; }
.user-status { margin: 8px 0; font-size: 12px; color: #666; }
.status-tag {
    display: inline-block; padding: 1px 6px; border-radius: 3px;
    font-size: 13px; font-weight: 500; background: #67c23a; color: #fff; margin-left: 4px;
}
.status-tag.gray { background: #909399; }
.btn-recharge {
    width: 100%; padding: 8px 0; border: none; border-radius: 4px;
    background: #1677ff; color: #fff; cursor: pointer; margin-top: 8px;
    font-size: 15px; font-weight: 500;
    transition: background-color 0.2s;
}
.btn-recharge:hover { background-color: #0e5dcc; }
.sidebar-menu { list-style: none; flex: 1; padding: 8px 0; }
.sidebar-menu li {
    padding: 10px 20px; cursor: pointer; color: #374151;
    border-left: 3px solid transparent;
    font-size: 16px; font-weight: 500;
    transition: all 0.2s;
}
.sidebar-menu li.active {
    background: #fff;
    border-left-color: #1677ff;
    color: #1677ff;
    font-weight: 500;
}
.sidebar-footer {
    padding: 12px 16px; font-size: 13px; color: #9ca3af;
    border-top: 1px solid #dcdfe6;
    text-align: center;
}
/* ========== 右侧主内容区 ========== */
.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.main-tabs {
    height: 40px;
    background: #fff;
    border-bottom: 1px solid #dcdfe6;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 24px;
}
.main-tab {
    padding: 0 4px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    color: #606266;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.main-tab.active {
    color: #1677ff;
    border-bottom-color: #1677ff;
}
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #fff;
}
/* ========== 通用卡片 ========== */
.card {
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 16px;
}
.card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: #1f2937;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}
/* ========== 表单元素 ========== */
.form-item { margin-bottom: 16px; }
.form-item label {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
}
.form-item input, 
.form-item textarea, 
.form-item select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #a8b0bd;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #1f2937;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}
.form-item textarea { 
    resize: vertical; 
    min-height: 80px;
    font-family: inherit;
}
/* 聚焦时边框变为主题色 */
input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: #1677ff !important;
    outline: none;
}
/* ========== 按钮 ========== */
.btn {
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    transition: background-color 0.2s;
}
.btn-blue { 
    background-color: #1677ff !important;
    color: #fff !important;
}
.btn-blue:hover { 
    background-color: #0e5dcc !important;
}
.btn-red { background: #f56c6c; color: #fff; }
.btn-red:hover { background: #e64545; }
.btn-orange { background: #e6a23c; color: #fff; }
.btn-small { 
    padding: 4px 10px; 
    font-size: 12px; 
}
/* ========== 标签 ========== */
.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}
.tag-green { background: #f0f9eb; color: #67c23a; }
.tag-red { background: #fef0f0; color: #f56c6c; }
.tag-blue { background: #ecf5ff; color: #1677ff; }
.tag-gray { background: #f4f4f5; color: #909399; }
/* ========== 表格 ========== */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td {
    padding: 8px 12px;
    border-bottom: 1px solid #ebeef5;
    text-align: left;
    font-weight: 400;
    color: #1f2937;
}
.table th { 
    background: #fafafa; 
    font-weight: 600; 
    color: #374151;
    font-size: 14px;
}
/* ========== 平台图标网格 ========== */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 16px;
    border-radius: 6px;
    transition: background .2s;
}
.platform-item:hover { background: #f5f7fa; }
.platform-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: bold; color: #fff;
}
.platform-name { font-size: 13px; color: #606266; }
/* ========== 模态弹窗 ========== */
.modal-mask {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.modal-box {
    width: 420px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}
.modal-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
    color: #1f2937;
}
/* ========== 问号提示气泡 ========== */
.tip-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    background: #eee;
    color: #999;
    font-size: 12px;
    cursor: help;
    position: relative;
    margin-left: 4px;
}
.tip-box {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    white-space: nowrap;
    display: none;
    z-index: 10;
    font-weight: 400;
}
.tip-icon:hover .tip-box {
    display: block;
}
/* ========== 轻提示 ========== */
.toast {
    display: none;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
    position: relative;
    top: -2px;
}
/* ========== 滑动开关 ========== */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 22px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #1677ff;
}
input:checked + .slider:before {
    transform: translateX(18px);
}
/* ========== 辅助文字 ========== */
input::placeholder,
textarea::placeholder,
.small-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #6b7280;
}
/* 自定义消息弹窗 */
.msg-modal {
    position: absolute;
    top: 420px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: none;
}

.msg-content {
    background: #fff;
    padding: 24px 40px;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 420px;
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
}

.msg-btn {
    border: none;
    padding: 10px 32px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    transition: background-color 0.2s;
}

.msg-btn.success {
    background: #1677ff;
}
.msg-btn.success:hover {
    background: #0e5dcc;
}

.msg-btn.warning {
    background: #ff7d00;
}
.msg-btn.warning:hover {
    background: #e66f00;
}

.msg-btn.error {
    background: #f53f3f;
}
.msg-btn.error:hover {
    background: #d92f2f;
}


/* ========== 互动设置详情卡片（和你HTML类名完全对应） ========== */
.interact-detail-card {
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 8px;
    padding: 20px 24px;
}

.interact-detail-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

/* 分组区块（蓝色虚线框） */
.interact-section {
    border: 1px dashed #1890ff;
    border-radius: 6px;
    margin-bottom: 16px;
    background: #fff;
    overflow: hidden;
}

.interact-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #1890ff;
    background: #f8fbff;
    border-bottom: 1px dashed #e6f4ff;
}

.interact-section-body {
    padding: 8px 16px 12px;
}

/* 每行布局 */
.interact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.interact-row:last-child {
    border-bottom: none;
}

.interact-label {
    width: 110px;
    flex-shrink: 0;
    color: #606266;
    font-size: 14px;
    text-align: right;
}

.interact-value {
    flex: 1;
    font-size: 14px;
    color: #303133;
}

.interact-value.green {
    color: #52c41a;
    font-weight: 500;
}

/* 输入框 */
.interact-input {
    flex: 1;
    max-width: 360px;
    padding: 6px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
    color: #1f2937;
    transition: border-color 0.2s;
}

.interact-input.small {
    max-width: 140px;
}

.interact-input:focus {
    border-color: #1890ff;
}

/* ========== 新增：多行播报输入区 ========== */
/* 多行播报输入区 */
.interact-textarea-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.interact-textarea-row:last-child {
    border-bottom: none;
}

.interact-textarea-row .interact-label {
    width: 110px;
    flex-shrink: 0;
    color: #606266;
    font-size: 14px;
    text-align: right;
    padding-top: 6px;
}

.interact-textarea {
    flex: 1;
    width: 100%;
    min-height: 72px;
    padding: 8px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
    color: #1f2937;
    line-height: 1.6;
    resize: vertical;
    background: #fff;
    transition: border-color 0.2s;
}

.interact-textarea:focus {
    border-color: #1890ff;
}
/* ========== 新增结束 ========== */

/* 开关组 */
.interact-switch-group {
    display: flex;
    gap: 24px;
    flex: 1;
}


.interact-switch-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #303133;
}

/* 隐藏原生 checkbox */
.interact-switch-item input {
    display: none;
}

/* 文字 */
.switch-text {
    font-size: 14px;
    color: #303133;
}

/* 灰色圆角开关按钮 */
.switch-btn {
    display: inline-block;
    width: 36px;
    height: 20px;
    border-radius: 20px;
    background: #e5e7eb;
    position: relative;
    vertical-align: middle;
    transition: background 0.2s;
}

.switch-btn em {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: left 0.2s;
}

/* 开启状态 */
.switch-btn.on {
    background: #1890ff;
}

.switch-btn.on em {
    left: 18px;
}


/* 下拉选择 */
.interact-select {
    padding: 4px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 13px;
    color: #303133;
    outline: none;
    background: #fff;
    cursor: pointer;
}

.interact-select:focus {
    border-color: #1890ff;
}

/* 过滤名单两列布局 */
.interact-filter-layout {
    display: flex;
    gap: 24px;
    padding-top: 4px;
}

.interact-filter-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.interact-filter-title {
    font-size: 14px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 8px;
}

.interact-filter-add {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.interact-filter-add input {
    flex: 1;
    padding: 6px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
}

.interact-filter-add input:focus {
    border-color: #1890ff;
}

.interact-filter-list {
    border: 1px solid #ebeef5;
    border-radius: 4px;
    background: #fafbfc;
    max-height: 160px;
    overflow-y: auto;
}

/* 名单条目（和你渲染函数的filter-item对应） */
.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 14px;
    color: #303133;
}

.filter-item:last-child {
    border-bottom: none;
}

/* 底部保存按钮 */
.interact-footer {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    text-align: right;
}
/* ===== 直播任务页面样式（仅作用于任务页） ===== */
#page-task .task-top-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}
#page-task .task-top-tab {
    position: relative;
    padding: 6px 2px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}
#page-task .task-top-tab.active {
    color: #1677ff;
    font-weight: 500;
}
#page-task .task-top-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 2px;
    background: #1677ff;
}
#page-task .tab-arrow {
    font-size: 12px;
    margin-left: 4px;
    color: #666;
}

#page-task .task-card {
    background: #fff;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
}
#page-task .task-card-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}
#page-task .help-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    background: #e5e7eb;
    color: #999;
    font-size: 12px;
    margin-left: 6px;
    cursor: help;
}

/* 场景标签 */
#page-task .scene-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 16px;
}
#page-task .scene-tab {
    padding: 6px 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
}
#page-task .scene-tab.active {
    color: #1677ff;
    font-weight: 500;
}
#page-task .scene-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 2px;
    background: #1677ff;
}

/* 操作按钮 */
#page-task .op-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
#page-task .op-label {
    width: 70px;
    font-size: 14px;
    color: #666;
}
#page-task .op-btn {
    padding: 4px 12px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
}
#page-task .op-btn-purple {
    background: #7b61ff;
}
#page-task .op-btn-red {
    background: #ff4d4f;
}

/* 表单行 */
#page-task .form-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 8px;
}
#page-task .form-label {
    width: 90px;
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
}
#page-task .form-input {
    flex: 1;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}
#page-task .form-input:focus {
    border-color: #1677ff;
}
#page-task .input-sm {
    width: 180px;
    flex: none;
}

/* 话术内容 */
#page-task .speech-block {
    margin-top: 8px;
}
#page-task .speech-op-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
#page-task .speech-content {
    background: #f9fafb;
    border-radius: 4px;
    padding: 16px;
    line-height: 2;
    font-size: 14px;
    color: #333;
    white-space: pre-line;
}

/* 设置行 */
#page-task .setting-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}
#page-task .setting-row:last-child {
    border-bottom: none;
}
#page-task .setting-label {
    width: 160px;
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
}
#page-task .setting-desc {
    font-size: 13px;
    color: #999;
}

/* 开关 */
#page-task .switch-wrap {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    cursor: pointer;
}
#page-task .switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}
#page-task .switch-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 20px;
    transition: .3s;
}
#page-task .switch-slider::before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background: white;
    border-radius: 50%;
    transition: .3s;
}
#page-task .switch-input:checked + .switch-slider {
    background: #1677ff;
}
#page-task .switch-input:checked + .switch-slider::before {
    transform: translateX(16px);
}

/* 滑块 */
#page-task .slider-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}
#page-task .range-input {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    background: #e5e7eb;
    border-radius: 2px;
    outline: none;
}
#page-task .range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #1677ff;
    cursor: pointer;
}
#page-task .range-value {
    font-size: 14px;
    color: #1677ff;
    min-width: 80px;
}

/* 单选 */
#page-task .radio-group {
    display: flex;
    gap: 24px;
}
#page-task .radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}
#page-task .radio-item input {
    display: none;
}
#page-task .radio-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #d9d9d9;
    position: relative;
    flex-shrink: 0;
}
#page-task .radio-item input:checked + .radio-dot {
    border-color: #1677ff;
}
#page-task .radio-item input:checked + .radio-dot::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1677ff;
}

#page-task .btn-primary {
    background: #1677ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
#page-task .btn-sm {
    padding: 4px 12px;
    font-size: 13px;
}

/* 主播任务说明弹窗 */
.task-help-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.task-help-modal.show {
    display: flex;
}
.task-help-box {
    width: 620px;
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
}
.task-help-title {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 16px;
    color: #222;
}
.task-help-content p {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    margin: 4px 0;
}
.task-help-example-title {
    font-size: 14px;
    color: #222;
    margin: 14px 0 8px;
}
.task-help-example {
    background: #000;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 2.1;
    font-family: Consolas, monospace;
}
.example-text {
    color: #fff;
}
.example-desc {
    color: #00d870;
}
.task-help-footer {
    text-align: center;
    margin-top: 22px;
}
.task-help-confirm {
    color: #1677ff;
    font-size: 15px;
    cursor: pointer;
}
/* 下拉菜单通用 */
.dropdown-wrap {
    position: relative;
    display: inline-block;
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 120px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
    padding: 4px 0;
}
.dropdown-menu.show {
    display: block;
}
.dropdown-item {
    padding: 8px 14px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    line-height: 1.4;
}
.dropdown-item:hover {
    background: #f5f7fa;
    color: #1677ff;
}

/* 话术编辑框 */
.speech-content {
    width: 100%;
    min-height: 180px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 4px;
    line-height: 2;
    font-size: 14px;
    color: #333;
    border: none;
    outline: none;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
}
/* 场景标签栏 */
.scene-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

/* 每个标签项整体手型可点击 */
.scene-tab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;           /* 手型图标 */
    position: relative;
}

.scene-tab-item .scene-tab-text {
    pointer-events: none;      /* 文字不阻挡点击 */
}

.scene-tab-item.active {
    color: #1677ff;
    font-weight: 500;
}

.scene-tab-item.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 2px;
    background: #1677ff;
}

/* 删除按钮 */
.scene-tab-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;           /* 删除按钮也显示手型 */
    user-select: none;
}

.scene-tab-delete:hover {
    background: #ff7875;
}

