music-player {
    display: block;
    width: 100%;
    max-width: 420px;
    margin-top: 1.5rem;
}

.player {
    background: #1a0033;
    border: 3px ridge #ff69b4;
    padding: 1rem 1.25rem;
}

.player-select {
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: 2px inset #ff69b4;
    background: #0d0221;
    color: #ffff00;
    font-family: inherit;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    outline: none;
}

.player-select:focus {
    border-color: #00bfff;
}

.player-song {
    font-size: 0.85rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.6rem;
    min-height: 1.3em;
}

.player-song-artist {
    color: #00bfff;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.player-btn {
    background: #ff00ff;
    border: 2px outset #ff69b4;
    font-size: 1.3rem;
    cursor: pointer;
    color: #ffff00;
    padding: 0.2rem 0.4rem;
    line-height: 1;
    font-family: inherit;
}

.player-btn:hover {
    background: #ffff00;
    color: #ff00ff;
    border-style: inset;
}

.player-btn:active {
    transform: scale(0.9);
}

.player-btn-play {
    font-size: 1.6rem;
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.player-progress-bar {
    flex: 1;
    height: 8px;
    background: #0d0221;
    border: 2px inset #ff69b4;
    cursor: pointer;
    position: relative;
}

.player-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #ff69b4, #ffff00);
}

.player-time {
    font-size: 0.7rem;
    color: #ff69b4;
    min-width: 2.5rem;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.player-empty {
    color: #ff69b4;
    font-style: italic;
    font-size: 0.8rem;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.player-volume-icon {
    font-size: 0.9rem;
    color: #ffff00;
    min-width: 1.2rem;
    text-align: center;
    font-weight: bold;
}

.player-volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #0d0221;
    border: 2px inset #ff69b4;
    outline: none;
    cursor: pointer;
}

.player-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #ffff00;
    border: 2px outset #ff69b4;
    cursor: pointer;
}

.player-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #ffff00;
    border: 2px outset #ff69b4;
    cursor: pointer;
}
