.result-item {
	background: var(--background-color); /* Blending with background */
	border-radius: 12px;
	padding: 2rem 1.5rem;
	margin-bottom: 0.5rem;
	box-shadow: 0 2px 8px var(--shadow-color);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
	text-align: center; /* Center everything */
	cursor: pointer;
}

@media (max-width: 768px) {
	.result-item {
		padding: 1.5rem 1rem;
		margin-bottom: 1rem;
		border-radius: 8px;
	}
}

@media (max-width: 480px) {
	.result-item {
		padding: 1rem 0.8rem;
		margin-bottom: 0.8rem;
	}
}

.result-item:not(.selected):hover {
	transform: translateY(-2px);
}

.result-header {
	order: 2; /* Move to bottom */
	margin-top: 1rem; /* Space from lyrics */
	margin-bottom: 0;
}

.song-title {
	font-size: 0.9rem; /* Smaller size */
	color: var(--secondary-color); /* More subtle color */
	font-weight: normal;
	font-style: italic;
}

@media (max-width: 768px) {
	.song-title {
		font-size: 0.8rem;
	}
}

@media (max-width: 480px) {
	.song-title {
		font-size: 0.75rem;
	}
}

.album-title {
	display: none; /* Hide album title */
}

.lyrics-context {
	order: 1; /* Move to top */
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem;
	border-radius: 8px;
	font-size: 1.3rem; /* Larger font for prominence */
	line-height: 1.5;
}

@media (max-width: 768px) {
	.lyrics-context {
		padding: 0.8rem;
		font-size: 1.1rem;
		gap: 0.3rem;
	}
}

@media (max-width: 480px) {
	.lyrics-context {
		padding: 0.5rem;
		font-size: 1rem;
		gap: 0.2rem;
	}
}

.line {
	padding: 0.3rem 0;
	user-select: none;
}

.prev-line,
.next-line {
	color: var(--secondary-color);
	font-size: 1.1rem;
}

@media (max-width: 768px) {
	.prev-line,
	.next-line {
		font-size: 0.95rem;
	}
}

@media (max-width: 480px) {
	.prev-line,
	.next-line {
		font-size: 0.9rem;
	}
}

.matching-line {
	color: var(--primary-color);
	font-weight: 600;
	font-size: 1.4rem; /* Even larger for main quote */
	position: relative;
	padding: 0.5rem 0; /* More vertical spacing */
}

@media (max-width: 768px) {
	.matching-line {
		font-size: 1.2rem;
		padding: 0.3rem 0;
	}
}

@media (max-width: 480px) {
	.matching-line {
		font-size: 1.1rem;
		padding: 0.2rem 0;
	}
}

.matching-line::before {
	display: none; /* Remove the music note */
}

.result-item.selected .matching-line {
	font-size: 4vh;
}

.result-item.selected .prev-line {
	font-size: 2vh;
}
.result-item.selected .next-line {
	font-size: 2vh;
}
