.ltw-player {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    z-index: 999998;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    width: 250px;
    height: 75px;
    overflow: hidden;
}

.ltw-player-controls {
    display: grid;
    grid-template-columns: auto auto auto 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    padding: 10px 15px;
    height: 100%;
    align-items: center;
}

.ltw-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ltw-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ltw-btn svg {
    width: 16px;
    height: 16px;
}

.ltw-btn-play {
    background: #c00001;
    width: 36px;
    height: 36px;
}

.ltw-btn-play:hover {
    background: #fe0000;
}

.ltw-btn-play svg {
    width: 18px;
    height: 18px;
}

.ltw-song-info {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
    min-width: 0;
    margin-right: 10px;
    overflow: hidden;
    position: relative;
}

#ltw-song-title {
    font-weight: 500;
    font-size: 11px;
    white-space: nowrap;
    display: inline-block;
    animation: ticker 10s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.ltw-song-info:hover #ltw-song-title {
    animation-play-state: running;
}

#ltw-song-title::after {
    content: attr(data-title);
    padding-left: 50px;
}

.ltw-progress-container {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
    display: flex;
    align-items: center;
}

.ltw-progress {
    width: 100%;
    height: 3px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.ltw-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ltw-progress::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.ltw-progress::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.ltw-progress::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.ltw-time {
    display: none;
}

.ltw-volume-container {
    display: none;
}


.ltw-volume {
    width: 60px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.ltw-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.ltw-volume::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

@media (max-width: 768px) {
    .ltw-player {
        bottom: 80px;
        right: 15px;
        width: 60px;
        height: 60px;
    }
    
    .ltw-player:hover {
        width: 60px;
    }
    
    .ltw-player-controls {
        justify-content: center;
        padding: 0;
    }
    
    .ltw-btn:not(.ltw-btn-play),
    .ltw-song-info,
    .ltw-progress-container,
    .ltw-volume-container {
        display: none !important;
    }
    
    .ltw-btn-play {
        width: 50px;
        height: 50px;
    }
    
    .ltw-btn-play svg {
        width: 24px;
        height: 24px;
    }
}
