@font-face {
  font-family: "Pixelated MS Sans Serif";
  src: url("https://files.catbox.moe/qgjjre.woff") format("woff");
  src: url("https://files.catbox.moe/8fwbkl.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Pixelated MS Sans Serif";
  src: url("https://files.catbox.moe/z7csle.woff") format("woff");
  src: url("https://files.catbox.moe/moqhx6.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
    }

#musicplayer {
  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
  font-size: 11px;
  color:#0a0a0a;
  width: fit-content;
  border:#0a0a0a solid 1px;
  margin:0 auto;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #ffffff;
  background: #c0c0c0;
  padding: 3px;
    }

.title-color {  
  padding: 3px 2px 3px 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #6b1515, #61fcff);
  margin-bottom: 2px;
  font-weight: bold;
}

.actual-title {
  color:white;
  display: flex;
  gap: 5px;
}

.seeking {
  font-weight: normal;
  font-size: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 12px 0;
}

.player-flex {
  display: flex;
  gap: 3px;
}

.player-main {
  width: calc(100% - 100px);
  margin-top: 1px;
}

.player-icon-holder {
  border: 2px solid #c0c0c0;
  width:95px;
  height:95px;
  padding: 1px;
  background-image:linear-gradient(-45deg, #dfdfdf 50%, #0a0a0a 50%);
  background-size:cover;
  background-repeat:no-repeat;
  border-width:1px;
  border-style:solid;
  border-color: #808080 #ffffff #ffffff #808080;
  overflow: hidden;
  position:relative;
  z-index: 2;
}

.player-icon {
  background-image:url(/images/assets/buckyicon7.png);
  background-size: contain;
  background-repeat: no-repeat;
  width:95px;
  height:95px;
  display: display;
}

/* BELOW IS LARGELY RIPPED FROM 98 CSS */
.track-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  border-radius:0;
  box-sizing: border-box;
  outline:0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 3px 4px;
  padding-right: 32px;
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/button-down.svg");
  background-position: top 2px right 2px;
  background-repeat: no-repeat;
  width:100%;
  box-shadow: inset -1px -1px #ffffff, inset 1px 1px #808080, inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a;
  background-color: #ffffff;
  height: 21px;
  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
  font-size: 11px;
  font-weight: lighter;
}

.track-select:focus {
  color: white;
  background-color: #6b1515;

}

.track-select:focus option {
  color: #0a0a0a;
  background-color: #ffffff;  
  outline: 1px;
  border: none;
}

.track-select:active {
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/button-down-active.svg");
}

/* input */
#musicplayer input[type="range"] {  
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

#musicplayer input[type="range"]:focus {
  outline: none;
}

#musicplayer input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  height: 21px;
  width: 11px;
  background: url("https://loveberry.nekoweb.org/assets/musicplayer/indicator-horizontal.svg");
  transform: translateY(-8px);
  box-shadow: none;
  border: none;
}

#musicplayer input[type="range"].has-box-indicator::-webkit-slider-thumb {
  background: url("https://loveberry.nekoweb.org/assets/musicplayer/indicator-rectangle-horizontal.svg");
  transform: translateY(-10px);
}

#musicplayer input[type="range"]::-moz-range-thumb {
  height: 21px;
  width: 11px;
  border: 0;
  border-radius: 0;
  background: url("https://loveberry.nekoweb.org/assets/musicplayer/indicator-horizontal.svg");
  transform: translateY(2px);
}

#musicplayer input[type="range"].has-box-indicator::-moz-range-thumb {
  background: url("https://loveberry.nekoweb.org/assets/musicplayer/indicator-rectangle-horizontal.svg");
  transform: translateY(0px);
}

#musicplayer input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 2px;
  box-sizing: border-box;
  background: #0a0a0a;
  border-right: 1px solid #808080;
  border-bottom: 1px solid #808080;
  box-shadow: 1px 0 0 #ffffff, 1px 1px 0 #ffffff, 0 1px 0 #ffffff, -1px 0 0 #a9a9a9,
    -1px -1px 0 #a9a9a9, 0 -1px 0 #a9a9a9, -1px 1px 0 #ffffff, 1px -1px #a9a9a9;
}

#musicplayer input[type="range"]::-moz-range-track {
  width: 100%;
  height: 2px;
  box-sizing: border-box;
  background: #0a0a0a;
  border-right: 1px solid #808080;
  border-bottom: 1px solid #808080;
  box-shadow: 1px 0 0 #ffffff, 1px 1px 0 #ffffff, 0 1px 0 #ffffff, -1px 0 0 #a9a9a9,
    -1px -1px 0 #a9a9a9, 0 -1px 0 #a9a9a9, -1px 1px 0 #ffffff, 1px -1px #a9a9a9;
}

.window-button {
  background: #c0c0c0;
  border: none;
  border-radius: 0;
  box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #ffffff,inset -2px -2px #808080,inset 2px 2px #dfdfdf;
  box-sizing: border-box;
  color: inherit;
  text-shadow: 0 0 #0a0a0a;
}

.window-button:active {
  box-shadow: inset -1px -1px #ffffff, inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf, inset 2px 2px #808080;
  text-shadow: 1px 1px #0a0a0a;
}

.window-button:focus  {
  outline: 1px dotted #000;
  outline-offset: -4px;
}
.player-buttons {
  display: flex;
  gap: 10px;
  margin: 5px 5px 0 5px;
}
.player-buttons .window-button  {
  width: 33%;
  font-size: 10px;
  padding: 5px 10px;
}
.player-buttons .window-button svg {
  width: 15px;
  height: 15px;
}

.title-bar-controls {
  display: flex;
}
.close {
  margin-left: 2px;
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/close.svg");
  background-repeat: no-repeat;
  background-position: top 3px left 4px;
  padding: 0;
  display: block;
  min-width: 16px;
  min-height: 14px;
}

.minimize {
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/minimize.svg");
  background-repeat: no-repeat;
  background-position: bottom 3px left 4px;
  padding: 0;
  display: block;
  min-width: 16px;
  min-height: 14px;
}

.maximize {
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/maximize.svg");
  background-repeat: no-repeat;
  background-position: top 2px left 3px;
  padding: 0;
  display: block;
  min-width: 16px;
  min-height: 14px;
}