.audiosync-wrapper {
    background: #111;
    color: #eee;
    font-family: 'Segoe UI', Arial, sans-serif;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
}

.audiosync-player-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    background: #222;
    padding: 10px;
    border-radius: 8px;
}

.audiosync-audio {
    flex: 1;
    min-width: 0;
}

.audiosync-controls {
    display: flex;
    gap: 8px;
}

.audiosync-btn {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.audiosync-btn:hover {
    background: #0af;
    color: #000;
}

.audiosync-subtitle-upload {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    background: #1a1a1a;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    flex-wrap: wrap;
}

.audiosync-subtitle-upload input[type="file"],
.audiosync-subtitle-upload input[type="text"] {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
}

.audiosync-or {
    color: #888;
    font-size: 12px;
}

.audiosync-text-container {
    max-height: 70vh;
    overflow-y: auto;
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 10px;
    scroll-behavior: smooth;
}

.audiosync-text-inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.audiosync-phrase {
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1.6;
    user-select: text;
}

.audiosync-phrase:hover {
    background: #333;
}

.audiosync-phrase.active {
    background: #0af;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

.audiosync-placeholder {
    color: #666;
    text-align: center;
    font-style: italic;
}

.audiosync-status {
    font-size: 12px;
    color: #888;
    min-height: 18px;
}