.luovain-tts {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.luovain-tts audio {
    display: none;
}

.lt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.lt-label {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.lt-time {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.lt-progress-container {
    margin-bottom: 16px;
}

.lt-progress-bar {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    height: 6px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: height 0.2s ease;
}

.lt-progress-bar:hover {
    height: 8px;
}

.lt-progress-filled {
    background: #fff;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 10px;
}

.luovain-tts-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.luovain-tts-controls button {
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: 600;
}

.luovain-tts-controls button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.luovain-tts-controls button:active {
    transform: scale(0.95);
}

.luovain-tts-controls .lt-play {
    width: 56px;
    height: 56px;
    font-size: 22px;
    background: #fff;
}

.luovain-tts-controls .lt-rewind,
.luovain-tts-controls .lt-forward {
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 600px) {
    .luovain-tts {
        padding: 15px;
    }

    .lt-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .lt-label {
        font-size: 14px;
    }

    .lt-time {
        font-size: 13px;
    }

    .luovain-tts-controls {
        gap: 6px;
    }

    .luovain-tts-controls button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .luovain-tts-controls .lt-play {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .luovain-tts-controls .lt-rewind,
    .luovain-tts-controls .lt-forward {
        font-size: 11px;
    }
}