.playlist-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.playlist-card-shadow {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.playlist-skeleton {
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
}
@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.playlist-blur-gate {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}
.playlist-blur-overlay {
    backdrop-filter: blur(4px);
    background: rgba(15, 23, 42, 0.7);
}
.waveform-bar {
    display: inline-block;
    width: 3px;
    margin: 0 1px;
    border-radius: 2px;
    background: currentColor;
    animation: waveform 1.2s ease-in-out infinite;
}
.waveform-bar:nth-child(1) { animation-delay: 0s; height: 12px; }
.waveform-bar:nth-child(2) { animation-delay: 0.15s; height: 20px; }
.waveform-bar:nth-child(3) { animation-delay: 0.3s; height: 16px; }
.waveform-bar:nth-child(4) { animation-delay: 0.45s; height: 24px; }
.waveform-bar:nth-child(5) { animation-delay: 0.6s; height: 14px; }
@keyframes waveform {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}
.scrub-track {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #334155;
    outline: none;
    cursor: pointer;
}
.scrub-track::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #a78bfa;
    cursor: pointer;
    border: 2px solid #fff;
}
.scrub-track::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #a78bfa;
    cursor: pointer;
    border: 2px solid #fff;
}
.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: #334155;
    outline: none;
}
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #a78bfa;
    cursor: pointer;
}
.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #a78bfa;
    cursor: pointer;
}
.episode-item {
    transition: background-color 0.2s, transform 0.15s;
}
.episode-item:hover {
    background-color: rgba(139, 92, 246, 0.1);
}
.episode-item.playing {
    background-color: rgba(139, 92, 246, 0.15);
    border-left: 3px solid #a78bfa;
}
.episode-item.completed .episode-check {
    color: #22c55e;
}
.episode-item.dragging {
    opacity: 0.5;
    transform: scale(0.98);
}
.episode-item.drag-over {
    border-top: 2px solid #a78bfa;
}
.sticky-player {
    position: sticky;
    bottom: 0;
    z-index: 50;
}
.toast-notification {
    animation: toast-in 0.3s ease-out, toast-out 0.3s ease-in 2.7s forwards;
}
@keyframes toast-in {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes toast-out {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(100%); opacity: 0; }
}
.modal-overlay {
    animation: modal-fade-in 0.2s ease-out;
}
@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    animation: modal-slide-in 0.2s ease-out;
}
@keyframes modal-slide-in {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.embed-player {
    width: 320px;
    height: 80px;
    overflow: hidden;
}
.embed-player.theme-dark {
    background: #1e293b;
    color: #e2e8f0;
}
.embed-player.theme-light {
    background: #f8fafc;
    color: #1e293b;
}
@media (max-width: 375px) {
    .sticky-player .player-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    .embed-player {
        width: 100%;
    }
}
