:root {
	--np-bg: #131313;
	--np-primary: #d9d9d9;
	--np-light: #bfbfbf;
	--np-radius: 12px;
	--np-font: 'DuneFont', system-ui, sans-serif;
}

#spotify-widget .np-card {
	display: flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
	color: var(--np-primary);
	border-radius: var(--np-radius);
	padding: 10px 14px;
	text-decoration: none;
	width: max-content;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	font-family: var(--np-font);
	transform: translateY(-4px);
}

#spotify-widget .np-thumb {
	position: relative;
	width: 64px;
	height: 64px;
	flex: 0 0 64px;
	border-radius: 8px;
	overflow: hidden;
}

#spotify-widget .np-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#spotify-widget .np-eq {
	position: absolute;
	right: 6px;
	bottom: 6px;
	display: flex;
	gap: 4px;
	align-items: end;
}

#spotify-widget .np-eq span {
	display: block;
	width: 3px;
	height: 8px;
	background: rgba(255, 255, 255, 0.25);
	border-radius: 2px;
	animation: eq 1000ms infinite ease-in-out;
}

#spotify-widget .np-eq span:nth-child(1) {
	animation-delay: 0ms;
}

#spotify-widget .np-eq span:nth-child(2) {
	animation-delay: 120ms;
}

#spotify-widget .np-eq span:nth-child(3) {
	animation-delay: 240ms;
}

@keyframes eq {
	0% {
		height: 4px;
		opacity: 0.6
	}

	50% {
		height: 14px;
		opacity: 1
	}

	100% {
		height: 6px;
		opacity: 0.7
	}
}

#spotify-widget .np-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 260px;
  overflow: hidden;
  flex-grow: 1;
}

#spotify-widget .np-title {
	font-weight: 600;
	font-size: 0.98rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#spotify-widget .np-artist {
	font-size: 0.86rem;
	color: var(--np-light);
	margin-top: 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#spotify-widget .np-badge {
  margin-left: auto;
  opacity: 0.95;
  display: flex;
  align-items: center;
}

#spotify-widget .np-badge svg {
	display: block;
}

#spotify-widget .np-empty {
	padding: 8px 12px;
	border-radius: 10px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.005));
	color: var(--np-light);
}