@font-face {
            font-family: 'tast';
            src: url('https://y.mhuany.xyz/v.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }
body {
    font-family: 'tast', sans-serif; 
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #9592FC;
    line-height: 1.6;
    overflow-x: hidden;
}
input, textarea {
    font-family: 'tast', sans-serif;
}
.music-player {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid #dce4f2;
}

.search-container {
    display: flex;
    align-items: center;
    margin-left: 0; 
        padding-left: 2px; 
}

#search-box {
    width: calc(100% - 40px);
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
    font-size: 16px;
    background-color: #fff;
    margin-right: 10px;
}

#search-icon {
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease-in-out;
}

#search-icon:hover {
    color: #555;
}

.copyright {
    font-size: 14px;
    color: #5a6e81;
}

@keyframes playPauseAnim {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.play-pause {
    animation: playPauseAnim 0.3s ease-in-out;
}
       .music-player {
    position: fixed !important;
    top: 50% !important;
    left: 20px !important;
    transform: translateY(-50%) !important;
    width: 280px !important;
    background: linear-gradient(135deg, #f9fbfd 0%, #e6f0ff 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
    animation: fadeInLeft 0.8s ease-out !important;
    transition: all 0.3s ease !important;
}
        .music-player:hover {
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
        }

        #music-title {
            margin: 0;
            padding: 16px;
            text-align: center;
            font-size: 18px;
            color: #2a3f54;
            background-color: rgba(255, 255, 255, 0.9);
            border-bottom: 1px solid #dce4f2;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .progress-container {
            position: relative;
            height: 8px;
            background-color: #e6e9f0;
            cursor: pointer;
            margin: 16px;
            border-radius: 4px;
        }



        .progress {
            height: 100%;
            background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
            width: 0;
            border-radius: 4px;
        }

        @keyframes progressWidth {
            0% {
                width: 0%;
            }
            100% {
                width: 100%;
            }
        }

        .play-pause {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: #fff;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0% {
                transform: translate(-50%, -50%) scale(1);
            }
            50% {
                transform: translate(-50%, -50%) scale(1.1);
            }
            100% {
                transform: translate(-50%, -50%) scale(1);
            }
        }

        .play-pause:hover {
            transform: translate(-50%, -50%) scale(1.2);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .play-pause i {
            font-size: 20px;
            background: -webkit-linear-gradient(90deg, #3498db 0%, #2980b9 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        #music-listbox {
            list-style-type: none;
            padding: 0;
            margin: 0;
            max-height: 180px;
            overflow-y: auto;
            overflow-x: hidden;
            animation: listFadeIn 1s ease-out;
        }

        @keyframes listFadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        #music-listbox li {
            padding: 12px 16px;
            cursor: pointer;
            transition: background-color 0.2s ease;
            border-bottom: 1px solid #dce4f2;
            color: #5a6e81;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        #music-listbox li:last-child {
            border-bottom: none;
        }

        #music-listbox li:hover {
            background-color: rgba(230, 235, 245, 0.8);
            color: #3498db;
            transform: translateX(5px);
        }

        .volume-container {
            display: flex;
            align-items: center;
            padding: 16px;
        }

        .volume-icon {
            margin-right: 12px;
            font-size: 20px;
            color: #2a3f54;
        }

        .volume-slider {
            -webkit-appearance: none;
            appearance: none;
            width: 100%;
            height: 6px;
            background: #e6e9f0;
            outline: none;
            border-radius: 3px;
        }

        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 16px;
            height: 16px;
            background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }

        .volume-slider::-moz-range-thumb {
            width: 16px;
            height: 16px;
            background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateY(-50%) translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(-50%) translateX(0);
            }
        }

        @keyframes scaleAnimation {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }

        .playing {
            animation: scaleAnimation 1s infinite;
            background-color: rgba(230, 235, 245, 0.8);
            color: #3498db!important;
        }

        .play-mode-container {
            display: flex;
            justify-content: flex-start;
            padding: 12px;
            background-color: rgba(255, 255, 255, 0.9);
            border-top: 1px solid #dce4f2;
        }

        .play-mode-container button {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 20px;
            margin: 0 6px;
            color: #5a6e81;
            transition: color 0.2s ease;
        }
        .police-icon {
    width: 100%;
    height: auto;
}
        .play-mode-container button.active {
            color: #3498db;
        }

        .tooltip {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: rgba(245, 247, 250, 0.9);
            border-radius: 10px;
            font-size: 14px;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1000;
            pointer-events: none;
        }

        .show-tooltip {
            opacity: 1;
        }

        .copyright {
            position: absolute;
            right: 10px;
            bottom: 10px;
            font-size: 12px;
            color: #5a6e81;
        }