:root {
    /* 扁平化主色调 */
    --primary-color: #4f46e5;
    --secondary-color: #10b981;
    --accent-color: #06b6d4;
    --danger-color: #ef4444;
    
    /* 中性色 */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* 背景色 */
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-card: #374151;
    --bg-input: #1f2937;
    
    /* 边框 */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-focus: var(--primary-color);
    
    /* 间距和尺寸 */
    --border-radius: 8px;
    --border-radius-sm: 6px;
    --border-radius-lg: 12px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* 过渡效果 */
    --transition: all 0.2s ease;
    --transition-fast: all 0.15s ease;
}
/* 语音预览按钮 */
.btn-preview {
    background: #10b981;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    min-width: 36px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.btn-preview:hover {
    background: #0d9488;
    transform: translateY(-1px);
}

.btn-preview:active {
    transform: scale(0.95);
}

.btn-preview i {
    font-size: 0.85rem;
}

/* 播放状态样式 */
.btn-preview.playing {
    background: var(--accent-color);
    animation: pulse 1.5s infinite;
}

.btn-preview {
    min-width: 40px;
    height: 37px;
    font-size: 0.9rem;
    margin-left: var(--spacing-xs);
}

.btn-preview i {
    font-size: 0.9rem;
}
    
.rollbar{
    display: none !important;
}