:root {
  --bg: #24232a;
  --title: #fff1d0;
  --artist: #c8bbb6;
  --accent: #e5a56d;
  --radius: 24px;
  --opacity: 0.96;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: transparent;
  overflow: hidden;
  font-family:
    Segoe UI,
    Arial,
    sans-serif;
}
.widget {
  width: 620px;
  margin: 24px;
  padding: 20px;
  display: flex;
  gap: 24px;
  border-radius: var(--radius);
  background: color-mix(
    in srgb,
    var(--bg) calc(var(--opacity) * 100%),
    transparent
  );
  color: var(--title);
  box-shadow: 0 10px 24px #0003;
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s,
    transform 0.5s,
    background 1.1s,
    color 1.1s;
}
.widget:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid #ffffff13;
  border-radius: inherit;
}
.widget.hidden {
  opacity: 0;
  transform: translateY(18px);
}
.art {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) * 0.6);
  background: linear-gradient(135deg, var(--accent), var(--bg));
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: opacity 0.4s;
}
.art img:not([src]) {
  opacity: 0;
}
.fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 64px;
  color: var(--title);
}
.info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.4px;
  margin-bottom: 12px;
}
.equalizer {
  height: 12px;
  display: flex;
  gap: 2px;
  align-items: center;
}
.equalizer i {
  width: 2px;
  height: 100%;
  background: currentColor;
  animation: bars 0.8s ease-in-out infinite alternate;
}
.equalizer i:nth-child(2) {
  animation-delay: -0.3s;
}
.equalizer i:nth-child(3) {
  animation-delay: -0.6s;
}
.equalizer i:nth-child(4) {
  animation-delay: -0.1s;
}
.paused .equalizer i {
  animation-play-state: paused;
  height: 3px;
}
.track-content {
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.changing .track-content {
  opacity: 0;
  transform: translateY(7px);
}
.marquee {
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.3;
}
.marquee span {
  display: inline-block;
}
.title {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.6px;
}
.artist {
  font-size: 16px;
  color: var(--artist);
  margin-top: 4px;
}
.album {
  font-size: 11px;
  color: var(--artist);
  opacity: 0.65;
  margin-top: 5px;
}
.timeline {
  margin-top: 17px;
}
.rail {
  height: 3px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  overflow: hidden;
}
#progress {
  height: 100%;
  background: var(--accent);
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: inherit;
  transition: background 1.1s;
}
.times {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--artist);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
@keyframes bars {
  from {
    transform: scaleY(0.25);
  }
  to {
    transform: scaleY(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
/* Keep the OBS canvas transparent, including inside a dark settings page. */
:root {
  color-scheme: only light;
}
html,
body {
  background: transparent !important;
  background-color: rgba(0, 0, 0, 0) !important;
}
