:root {
  --titlebar-gradient: linear-gradient(145deg, #121519, #162B47, #162B47);
  --dialog-blue: #6a1535;
  --dialog-accent: white;
  --titlebar-color: white;
  --player-image: url("../images/Sputnik.jpg");

  --surface: #c0c0c0;
  --button-highlight: #ffffff;
  --button-face: #dfdfdf;
  --button-shadow: #808080;
  --light-button-shadow: #a9a9a9;
  --window-frame: #0a0a0a;
  --border-field:
    inset -1px -1px var(--button-highlight),
    inset 1px 1px var(--button-shadow),
    inset -2px -2px var(--button-face),
    inset 2px 2px var(--window-frame);
}

html {
  font-family: 'lato', Arial, sans-serif;
  font-size:18px;
  color: #222;
  line-height: 1.4;
}

body.content-only {
  font-family: 'lato', Arial, sans-serif;
  font-size:18px;
  display: block;
  margin: 0;
  padding: 0;
  background: #121519;
  overflow: hidden;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

a {
  background-color: transparent;
}

a,
a:visited {
  color: #9fd0ff;
  text-decoration: none;
}

a:active,
a:hover {
  outline: 0;
}

a:hover {
  text-decoration: underline;
}

b,
strong {
  font-weight: bold;
}
font
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform:uppercase;
  color: #fff;
  background: none;
  font-weight: bold;
  margin: 0;
  overflow: hidden;
  padding-top: 0.5em;
  padding-bottom: 0.17em;
}

img {
  border: 0;
  max-width: 100%;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

textarea {
  resize: vertical;
  overflow: auto;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

@media print {
  *,
  *::before,
  *::after,
  *::first-letter,
  *::first-line {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.wrapAll {
  width: 100%;
}

ul {
  list-style-type: none;
  list-style-image: none;
  margin: 0;
  padding: 0.3em 0 0 0;
}

.article {
  padding: 1.25em 1.5em 1.5em 1.5em;
  background: #162B47;
  border-radius: 4px;
}

.article h1 {
  font:26px 'ms gothic', courier new, arial;
  font-weight:bold;
  border-bottom:1px solid #ABEBA5;
  line-height: 1.3;
  margin-bottom:4px;
  padding-top:2px;
  letter-spacing: 0;
}

.article h2 {
  font:22px 'ms gothic', courier new, arial;
  margin: 0.5em 0;
  font-weight:bold;
  border-bottom:1px solid #ABEBA5;
  line-height: 1.4em;
  padding-bottom: 0;
}

.article h3 {
  font-weight: bold;
  font-size: 1.2em;
}

.article p {
  font-family: 'lato', Arial, sans-serif;
  font-size:18px;
  text-align: justify;
  letter-spacing:1px;
  text-shadow:0px 0px 1px;
  color:#FFFFFF;
}

div.articleRight {
  border: 1px solid #c8ccd1;
  padding: 3px;
  float: right;
  background-color: #f8f9fa;
  font-family: 'lato', Arial, sans-serif;
  font-size:16px;
  overflow: hidden;
  line-height: 1.4em;
  margin: 0 0 5px 15px;
  text-align: left;
}

div.articleRightInner {
  border: 1px solid #c8ccd1;
  padding: 3px;
  background-color: #f8f9fa;
  font-family: 'lato', Arial, sans-serif;
  font-size:16px;
  text-align: center;
  overflow: hidden;
  width: 300px;
}

.contentsPanel {
  border: 1px solid #a2a9b1;
  background-color: #f8f9fa;
  padding: 5px;
  font-family: 'lato', Arial, sans-serif;
  font-size:16px;
  position: relative;
  line-height: 1.7em;
  width: 280px;
}

.hidePanel,
.showPanel {
  float: right;
  margin: 0 5px;
  position: absolute;
  right: 20px;
  cursor: pointer;
  color: #0645ad;
  top: 4px;
}

.contentsPanel ul {
  padding: 0 0 5px 5px;
}

.contentsPanel ul li span {
  display: inline-block;
  margin-right: 8px;
}

.contentsPanel ul li ul li {
  padding: 0 0 0 25px;
}

.showPanel {
  display: none;
}

.minimizedPanel .showPanel {
  display: block;
}

.minimizedPanel .hidePanel {
  display: none;
}

.contentsPanel.minimizedPanel {
  width: 130px;
}

.minimizedPanel .contentsHeader {
  text-align: left;
}


.sputnik-info-box {
  width: 300px;
  margin-top: 10px;
  background: #f8f9fa;
  border: 1px solid #c8ccd1;
  color: #202122;
  font-size: 0.95em;
  line-height: 1.45;
}

.sputnik-info-box a,
.sputnik-info-box a:visited {
  color: #3366cc;
  text-decoration: none;
}

.sputnik-info-box a:hover {
  text-decoration: underline;
}

.info-section-title {
  background: #dcdcdc;
  color: #202122;
  font-weight: bold;
  text-align: center;
  padding: 6px 8px;
  border-top: 1px solid #c8ccd1;
}

.info-section-title:first-child {
  border-top: none;
}

.info-row {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 8px;
  padding: 6px 8px;
  align-items: start;
}

.info-label {
  font-weight: bold;
  color: #202122;
}

.info-value {
  color: #202122;
  word-break: break-word;
}








/* PLAYER */

#musicplayer {
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif;
  -webkit-font-smoothing: none;
  font-size: 11px;
  color: var(--window-frame);
  border: var(--window-frame) solid 1px;
  margin: 0 auto;
  box-shadow:
    inset -1px -1px var(--window-frame),
    inset 1px 1px var(--button-face),
    inset -2px -2px var(--button-shadow),
    inset 2px 2px var(--button-highlight);
  background: var(--surface);
  padding: 3px;
  width: 260px;
}

.title-color {
  padding: 3px 2px 3px 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--titlebar-gradient);
  margin-bottom: 2px;
  font-weight: bold;
}

.actual-title {
  color: var(--titlebar-color);
  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 var(--surface);
  width: 95px;
  height: 95px;
  padding: 1px;
  background-image: linear-gradient(-45deg, var(--button-face) 50%, var(--window-frame) 50%);
  background-size: cover;
  background-repeat: no-repeat;
  border-width: 1px;
  border-style: solid;
  border-color: var(--button-shadow) var(--button-highlight) var(--button-highlight) var(--button-shadow);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.player-icon {
  background-image: var(--player-image);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  width: 95px;
  height: 95px;
  display: block;
}

.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: var(--border-field);
  background-color: var(--button-highlight);
  height: 21px;
  font-family: "Pixelated MS Sans Serif", Arial, sans-serif;
  -webkit-font-smoothing: none;
  font-size: 11px;
  font-weight: lighter;
}

.track-select:focus {
  color: var(--dialog-accent);
  background-color: var(--dialog-blue);
}

.track-select:focus option {
  color: var(--window-frame);
  background-color: var(--button-highlight);
  outline: 1px;
  border: none;
}

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

#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: var(--window-frame);
  border-right: 1px solid var(--button-shadow);
  border-bottom: 1px solid var(--button-shadow);
  box-shadow:
    1px 0 0 var(--button-highlight),
    1px 1px 0 var(--button-highlight),
    0 1px 0 var(--button-highlight),
    -1px 0 0 var(--light-button-shadow),
    -1px -1px 0 var(--light-button-shadow),
    0 -1px 0 var(--light-button-shadow),
    -1px 1px 0 var(--button-highlight),
    1px -1px var(--light-button-shadow);
}

#musicplayer input[type="range"]::-moz-range-track {
  width: 100%;
  height: 2px;
  box-sizing: border-box;
  background: var(--window-frame);
  border-right: 1px solid var(--button-shadow);
  border-bottom: 1px solid var(--button-shadow);
  box-shadow:
    1px 0 0 var(--button-highlight),
    1px 1px 0 var(--button-highlight),
    0 1px 0 var(--button-highlight),
    -1px 0 0 var(--light-button-shadow),
    -1px -1px 0 var(--light-button-shadow),
    0 -1px 0 var(--light-button-shadow),
    -1px 1px 0 var(--button-highlight),
    1px -1px var(--light-button-shadow);
}

.window-button {
  background: var(--surface);
  border: none;
  border-radius: 0;
  box-shadow:
    inset -1px -1px var(--window-frame),
    inset 1px 1px var(--button-highlight),
    inset -2px -2px var(--button-shadow),
    inset 2px 2px var(--button-face);
  box-sizing: border-box;
  color: inherit;
  text-shadow: 0 0 var(--window-frame);
}

.window-button:active {
  box-shadow:
    inset -1px -1px var(--button-highlight),
    inset 1px 1px var(--window-frame),
    inset -2px -2px var(--button-face),
    inset 2px 2px var(--button-shadow);
  text-shadow: 1px 1px var(--window-frame);
}

.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;
}