.tts-controls {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background: #333;
    color: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    z-index: 9999;
}

.tts-controls button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: #dd3333;
    color: white;
    transition: all 0.3s;
}

.tts-controls button:hover {
    background: #0056b3;
}

.tts-controls button:disabled {
    background: #666;
    cursor: not-allowed;
}

.tts-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: #007bff;
    width: 0%;
    transition: width 0.1s linear;
}

.tts-highlight {
    background-color: #ffeb3b;
    transition: background-color 0.3s;
}

.tts-controls select, .tts-controls input {
    padding: 5px;
    border-radius: 4px;
    background: #333;
}

@media (max-width: 768px) {
    .tts-controls {
        justify-content: center;
        padding: 10px;
    }
}