/*
                                     ,
                 ,-.        _,---._ __  / \
                /  )    .-'     `./ /   \
               (  (    ,'         `/    /|
                \  `-"          \'\   / |
                 `.            ,  \ \ /  |
                /`.          ,-`----Y   |
               (            ;        |   '
               |  ,-.    ,-'          |  /
               |  | (    |            | /
               )  |  \   `.___________|/
               `--'   `--'
 
    * windows reskin lovingly created by june @ loveberry.neocities.org / layercake.neocities.org
    * original multiple song music player by adilene @ adilene.net. [https://pastebin.com/PiDgrv3J] 
    * edited using 98 css [https://jdan.github.io/98.css/]
	* source code: https://github.com/sayantanm19/js-music-player
    * hello my name is cobie and i stripped all the original CSS bc this was the 
        easiest musicplayer to do it with 'v' b
*/

/* Main Layout Container */
.player {
    display: block;
}

/* Window Frame */
.window {
    background-color: #000000;
    border: 1px solid #000;
    padding: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px 10px;
    background: linear-gradient(rgba(0, 0, 0, 0.46), #000000 10%, black, rgba(0, 0, 0, 0.57) 120%);
}

/* Title Bar Area */
.title-bar {
    background: linear-gradient(rgb(41, 0, 255), rgba(111, 115, 255, 0.55) 10%, rgba(111, 130, 255, 0.27));
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 11px 3px 11px;
    border-radius: 15px 5px 5px 5px;
}

.title-bar-text {
    display: flex;
    align-items: center;
    gap: 4px;
}
.title-bar-controls {
    display: none;
}

/* Window Body Content */
.window-body {
    padding: 4px 0;
}

/* Album Art Box */
#imagestyle {
    width: 100%;
    height: 65px;
    background: #fff;
    overflow: hidden;
    display: block;
    background-image: url(/graphics/images/ykz/nishikifnaf.jpg);
    background-size: 175px;
    background-position: -7px -30px;
    border-radius: 10px;
    margin: 5px 0;
    border: 2px solid rgba(0, 0, 0, 0.66)
}

.ic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Player Controls & Track info */
#musicplayer {
    padding-left: 6px;
}

.songtitlewindow {
    background: #d0d0d0;
    border: 1px solid #595959;
    overflow: hidden;
    max-height: 20px;
    border-radius: 5px;
    padding-top: 2px;
    box-shadow:
        0 0 3px white,
        0 0 3px 1px #070707;
    text-shadow: 1px 1px 1px rgba(91, 91, 91, 0.32);
    font-style: italic;
    color: #4e4e4e;
    font-family: monospace;
}

.songtitle-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%; /* match your player width */
}

.songtitle {
    display: inline-block;
    animation: jitter 20s steps(190) infinite;
}

@keyframes jitter {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.songtitlearrow {
    width: 15px;
    height: 15px;
}

/* Seeking Slider Bar */
.seeking {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 6px 0;
}

.seek_slider {
    width: 100%;
}

.current-time,
.total-duration {
    font-size: 10px;
}

/* Control Buttons Table */
.controls {
    filter: invert() brightness(0.5);
    float: inline-end;
}

.controls td {
    text-align: center;
    padding: 0;
}

.controls button {
    cursor: pointer;
    background: none;
    border: none;
    padding: 2px;
}

.controlimg {
    width: 16px;
    height: 16px;
}
