}
/* ============================================
   Lip Sync Track Styles
   ============================================ */

.lip-sync-track {
    position: relative;
    height: 35px;
    background: linear-gradient(180deg, rgba(59,130,246,0.08) 0%, rgba(59,130,246,0.02) 100%);
    border-bottom: 1px solid rgba(59,130,246,0.3);
    z-index: 95;
}

.lip-sync-box {
    position: absolute;
    top: 4px;
    height: 27px;
    background: rgba(59,130,246,0.25);
    border: 1px solid #3b82f6;
    border-radius: 4px;
    cursor: move;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #3b82f6;
    text-shadow: 0 0 4px rgba(0,0,0,0.5);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 4px;
    user-select: none;
    z-index: 10;
    transition: box-shadow 0.15s, transform 0.1s;
}

.lip-sync-box:hover {
    box-shadow: 0 0 8px rgba(59,130,246,0.5);
    transform: translateY(-1px);
}

.lip-sync-box.selected {
    border-color: #fff;
    box-shadow: 0 0 10px rgba(59,130,246,0.6);
}

.lip-sync-box .resize-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
    cursor: ew-resize;
    background: transparent;
}

.lip-sync-box .resize-handle:hover {
    background: rgba(255,255,255,0.2);
}

.lip-sync-box .resize-handle.left {
    left: 0;
    border-radius: 4px 0 0 4px;
}

.lip-sync-box .resize-handle.right {
    right: 0;
    border-radius: 0 4px 4px 0;
}

/* Lip Sync Edit Dialog */
#lipSyncEditDialog {
    font-family: 'Segoe UI', system-ui, sans-serif;
}

#lipSyncEditDialog input[type="text"],
#lipSyncEditDialog input[type="number"] {
    transition: border-color 0.15s;
}

#lipSyncEditDialog input[type="text"]:focus,
#lipSyncEditDialog input[type="number"]:focus {
    border-color: #3b82f6;
}

#lipSyncEditDialog button:hover {
    filter: brightness(1.1);
}
