
    /* ===== 音频剪切 功能卡片样式（ac- 前缀，避免冲突） ===== */
    .ac-card .ac-form-area {
        margin-top: 14px;
    }
    .ac-card .ac-icon {
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
    }
    .ac-card .feature-card-header {
        position: relative;
    }
    .ac-help-btn {
        position: absolute;
        right: 0;
        top: 0;
        border: none;
        background: rgba(99, 102, 241, 0.08);
        color: var(--color-primary, #6366f1);
        font-size: 0.8rem;
        padding: 6px 12px;
        border-radius: 999px;
        cursor: pointer;
        transition: all 0.2s;
    }
    .ac-help-btn:hover {
        background: rgba(99, 102, 241, 0.16);
    }

    /* 上传区 */
    .ac-drop {
        border: 2px dashed rgba(100, 116, 139, 0.35);
        border-radius: 16px;
        padding: 38px 20px;
        text-align: center;
        transition: all 0.25s;
        background: rgba(255, 255, 255, 0.5);
    }
    .ac-drop:hover,
    .ac-drop.ac-dragover {
        border-color: var(--color-primary, #6366f1);
        background: rgba(99, 102, 241, 0.05);
    }
    .ac-drop-icon {
        font-size: 2.6rem;
        color: #94a3b8;
        margin-bottom: 12px;
    }
    .ac-drop.ac-dragover .ac-drop-icon {
        color: var(--color-primary, #6366f1);
    }
    .ac-drop-text {
        color: var(--text-dark, #1e293b);
        font-size: 0.95rem;
        margin: 0 0 6px;
    }
    .ac-drop-sub {
        color: var(--text-gray, #64748b);
        font-size: 0.8rem;
        margin: 0 0 18px;
    }
    .ac-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: linear-gradient(135deg, var(--color-primary, #6366f1), #8b5cf6);
        color: #fff;
        border: none;
        font-size: 0.88rem;
        font-weight: 600;
        padding: 10px 18px;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.25s;
    }
    .ac-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
        color: #fff;
    }
    .ac-btn:disabled {
        opacity: 0.45;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }
    .ac-btn-file input[type="file"] {
        display: none;
    }
    .ac-btn-ghost {
        background: #fff;
        color: var(--color-primary, #6366f1);
        border: 1px solid rgba(99, 102, 241, 0.4);
        padding: 7px 14px;
        font-size: 0.82rem;
    }
    .ac-btn-ghost:hover {
        background: rgba(99, 102, 241, 0.08);
        box-shadow: none;
        color: var(--color-primary, #6366f1);
    }
    .ac-btn-green {
        background: linear-gradient(135deg, #10b981, #059669);
    }
    .ac-btn-green:hover {
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
    }
    .ac-btn-light {
        background: #e2e8f0;
        color: #334155;
    }
    .ac-btn-light:hover {
        background: #cbd5e1;
        box-shadow: none;
        color: #334155;
    }
    .ac-btn-block {
        width: 100%;
    }

    /* 上传进度 */
    .ac-progress {
        margin-top: 16px;
    }
    .ac-progress-head {
        display: flex;
        justify-content: space-between;
        font-size: 0.82rem;
        color: var(--text-gray, #64748b);
        margin-bottom: 6px;
    }
    .ac-progress-num {
        color: var(--color-primary, #6366f1);
        font-weight: 600;
    }
    .ac-progress-track {
        width: 100%;
        height: 10px;
        background: rgba(100, 116, 139, 0.15);
        border-radius: 999px;
        overflow: hidden;
    }
    .ac-progress-bar {
        height: 100%;
        background: linear-gradient(90deg, var(--color-primary, #6366f1), #8b5cf6);
        border-radius: 999px;
        transition: width 0.3s;
    }

    /* 处理区布局 */
    .ac-grid2 {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 20px;
        align-items: start;
    }
    .ac-block-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-dark, #1e293b);
        margin: 0 0 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .ac-block-title i {
        color: var(--color-primary, #6366f1);
    }
    #ac-player {
        width: 100%;
        margin-bottom: 14px;
        border-radius: 10px;
        outline: none;
    }
    .ac-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 14px;
    }
    .ac-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(100, 116, 139, 0.08);
        color: var(--text-dark, #1e293b);
        font-size: 0.82rem;
        padding: 7px 12px;
        border-radius: 10px;
    }
    .ac-chip i {
        color: var(--color-primary, #6366f1);
    }

    /* 智能裁剪 */
    .ac-smart {
        background: rgba(99, 102, 241, 0.06);
        border-radius: 12px;
        padding: 14px;
        margin-bottom: 16px;
    }
    .ac-smart-title {
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--text-dark, #1e293b);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .ac-smart-title i {
        color: var(--color-primary, #6366f1);
    }
    .ac-smart-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }
    .ac-smart-split {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        font-size: 0.85rem;
        color: var(--text-dark, #1e293b);
    }
    .ac-smart-split select,
    .ac-export-row select,
    .ac-export-row input {
        border: 1px solid rgba(100, 116, 139, 0.3);
        border-radius: 8px;
        padding: 7px 10px;
        font-size: 0.84rem;
        color: var(--text-dark, #1e293b);
        background: #fff;
        outline: none;
    }
    .ac-smart-split .ac-btn {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    /* 时间轴 */
    .ac-timeline-labels {
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
        color: var(--text-gray, #64748b);
        margin-bottom: 6px;
    }
    .ac-timeline {
        position: relative;
        height: 64px;
        background: rgba(100, 116, 139, 0.1);
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        margin-bottom: 14px;
    }
    .ac-wave {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(99, 102, 241, 0.12) 1px, transparent 1px);
        background-size: 10px 100%;
    }
    .ac-sel {
        position: absolute;
        top: 0;
        height: 100%;
        background: rgba(99, 102, 241, 0.22);
        z-index: 5;
    }
    .ac-handle {
        position: absolute;
        top: 50%;
        width: 10px;
        height: 24px;
        background: var(--color-primary, #6366f1);
        border-radius: 4px;
        transform: translate(-50%, -50%);
        cursor: ew-resize;
        z-index: 15;
        touch-action: none;
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.5);
        transition: height 0.15s;
    }
    .ac-handle:hover,
    .ac-handle.ac-dragging {
        height: 32px;
    }
    .ac-playhead {
        position: absolute;
        top: 0;
        width: 2px;
        height: 100%;
        background: var(--color-primary, #6366f1);
        transform: translateX(-50%);
        z-index: 10;
    }

    /* 时间输入 */
    .ac-times {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 14px;
    }
    .ac-time-item {
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
    }
    .ac-time-item label {
        font-size: 0.8rem;
        color: var(--text-gray, #64748b);
    }
    .ac-time-item input {
        border: 1px solid rgba(100, 116, 139, 0.3);
        border-radius: 8px;
        padding: 8px 10px;
        font-size: 0.85rem;
        color: var(--text-dark, #1e293b);
        background: #fff;
        outline: none;
    }
    .ac-time-item input:focus {
        border-color: var(--color-primary, #6366f1);
    }
    .ac-add-btn {
        margin-left: auto;
    }

    /* 右侧片段列表 */
    .ac-right {
        background: rgba(100, 116, 139, 0.06);
        border-radius: 14px;
        padding: 14px;
    }
    .ac-right-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }
    .ac-badge {
        background: rgba(99, 102, 241, 0.12);
        color: var(--color-primary, #6366f1);
        font-size: 0.78rem;
        padding: 4px 10px;
        border-radius: 999px;
        font-weight: 600;
    }
    .ac-export-box {
        background: #fff;
        border-radius: 10px;
        padding: 10px 12px;
        margin-bottom: 12px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    }
    .ac-export-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
    }
    .ac-export-row:last-child {
        margin-bottom: 0;
    }
    .ac-export-row label {
        font-size: 0.8rem;
        color: var(--text-gray, #64748b);
        flex-shrink: 0;
    }
    .ac-export-row input,
    .ac-export-row select {
        flex: 1;
        min-width: 0;
    }
    .ac-cliplist {
        max-height: 260px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 8px;
        scrollbar-width: thin;
    }
    .ac-cliplist::-webkit-scrollbar {
        width: 5px;
    }
    .ac-cliplist::-webkit-scrollbar-thumb {
        background: rgba(99, 102, 241, 0.35);
        border-radius: 999px;
    }
    .ac-empty {
        text-align: center;
        color: var(--text-gray, #64748b);
        padding: 26px 0;
        font-size: 0.85rem;
    }
    .ac-empty i {
        font-size: 1.6rem;
        display: block;
        margin-bottom: 8px;
        opacity: 0.6;
    }
    .ac-clip-item {
        background: #fff;
        border-radius: 10px;
        padding: 10px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
        transition: all 0.2s;
    }
    .ac-clip-item.ac-playing {
        background: rgba(99, 102, 241, 0.08);
    }
    .ac-clip-info {
        font-size: 0.86rem;
        color: var(--text-dark, #1e293b);
    }
    .ac-clip-info b {
        display: block;
        margin-bottom: 2px;
    }
    .ac-clip-range {
        font-size: 0.78rem;
        color: var(--text-gray, #64748b);
    }
    .ac-clip-acts {
        display: flex;
        gap: 6px;
    }
    .ac-icon-btn {
        border: none;
        background: transparent;
        cursor: pointer;
        padding: 5px 6px;
        border-radius: 8px;
        font-size: 0.86rem;
        transition: all 0.2s;
    }
    .ac-icon-btn.ac-play {
        color: var(--color-primary, #6366f1);
    }
    .ac-icon-btn.ac-play:hover {
        background: rgba(99, 102, 241, 0.1);
    }
    .ac-icon-btn.ac-del {
        color: #ef4444;
    }
    .ac-icon-btn.ac-del:hover {
        background: rgba(239, 68, 68, 0.1);
    }
    .ac-right-foot {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(100, 116, 139, 0.15);
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* 弹窗 */
    .ac-modal {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(4px);
        z-index: 100000;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    .ac-modal.ac-show {
        display: flex;
    }
    .ac-modal-card {
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
        width: 100%;
        max-width: 420px;
        padding: 24px;
        animation: acPop 0.25s ease-out;
    }
    .ac-modal-help {
        max-width: 560px;
        max-height: 80vh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    @keyframes acPop {
        from { transform: scale(0.92); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }
    .ac-modal-center {
        text-align: center;
        margin-bottom: 18px;
    }
    .ac-modal-center h3 {
        margin: 8px 0 4px;
        font-size: 1.1rem;
        color: var(--text-dark, #1e293b);
    }
    .ac-modal-center p {
        margin: 0;
        font-size: 0.85rem;
        color: var(--text-gray, #64748b);
    }
    .ac-modal-icon {
        font-size: 2rem;
        color: var(--color-primary, #6366f1);
    }
    .ac-modal-card .ac-progress-head {
        margin-top: 10px;
    }
    .ac-modal-card > .ac-btn-light {
        margin-top: 18px;
    }
    .ac-modal-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(100, 116, 139, 0.15);
        margin-bottom: 14px;
    }
    .ac-modal-head h3 {
        margin: 0;
        font-size: 1.1rem;
        color: var(--text-dark, #1e293b);
    }
    .ac-close {
        border: none;
        background: transparent;
        color: var(--text-gray, #64748b);
        font-size: 1.1rem;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 8px;
    }
    .ac-close:hover {
        background: rgba(100, 116, 139, 0.1);
        color: var(--text-dark, #1e293b);
    }
    .ac-modal-body {
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .ac-help-item h4 {
        font-size: 0.92rem;
        color: var(--text-dark, #1e293b);
        margin: 0 0 4px;
    }
    .ac-help-item p {
        font-size: 0.84rem;
        color: var(--text-gray, #64748b);
        margin: 0;
        line-height: 1.6;
    }

    /* Toast */
    .ac-toast {
        position: fixed;
        bottom: 24px;
        right: 24px;
        background: #1e293b;
        color: #fff;
        font-size: 0.86rem;
        padding: 10px 18px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 100001;
        transform: translateY(80px);
        opacity: 0;
        transition: all 0.3s;
        pointer-events: none;
    }
    .ac-toast.ac-toast-show {
        transform: translateY(0);
        opacity: 1;
    }

    /* 响应式 */
    @media (max-width: 860px) {
        .ac-grid2 {
            grid-template-columns: 1fr;
        }
        .ac-smart-split {
            margin-left: 0;
            width: 100%;
        }
        .ac-add-btn {
            margin-left: 0;
            width: 100%;
        }
    }

