.vs-hide {
    opacity: 0.4;
}


#vs-toast {
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    width: 85%;
    max-width: 340px;
    text-align: center;
    padding: 20px 24px 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transform: translateX(-50%);
    opacity: 0;
}
#vs-toast .vs-toast-quote {
    font-size: 32px;
    line-height: 1;
    color: #d4a0a0;
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: 4px;
}
#vs-toast .vs-toast-msg {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    word-break: break-word;
    margin-bottom: 8px;
}
#vs-toast .vs-toast-from {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #555;
    text-transform: uppercase;
    font-weight: 600;
}
#vs-toast.vs-toast-show {
    animation: vs-toast-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               vs-toast-out 0.6s cubic-bezier(0.4, 0, 1, 1) 6.4s forwards;
}

#vs-music-play-btn {
    position: fixed;
    cursor: pointer;
    top: 40px;
    left: 15px;
    background-image: url("https://vs-thumbnail.s3.ap-southeast-1.amazonaws.com/music-play.png");
    width: 50px;
    height: 50px;
    background-size: cover;
    z-index: 9999;
}

#vs-music-play-btn.music-playing {
    animation: rotate 2s linear infinite;
}

#vs-music-play-btn.music-paused {
    animation-play-state: paused;
}

/* add keyframes rotate infinity */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes vs-toast-in {
    0% { opacity: 0; transform: translateX(-50%) translateY(24px) scale(0.95); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes vs-toast-out {
    0% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-12px) scale(0.97); }
}

#music-control  {
    position: fixed;
    top: 50px;
    right: 10px;
    z-index: 9999;
    width: 65px;
    height: 65px;
    background: #fff;
    border-radius:15px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#music-control.playing img {
    animation: rotate 2s linear infinite;
}

#music-control img {
    width: 45px;
    height:45px;
    cursor: pointer;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
