/* SkankRadio Core — Header search styling (v1.17.0)
 * Palette: bg #0a0a0a, cards #1a1a1a, gold #F9AB03, green #16bc0e, text #fff */

.sr-search {
	position: relative;
	width: 100%;
	max-width: 340px;
	font-family: inherit;
	box-sizing: border-box;
}
.sr-search *,
.sr-search *::before,
.sr-search *::after { box-sizing: border-box; }

.sr-search__box {
	display: flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 2px solid #16bc0e;
	border-radius: 10px;
	padding: 7px 15px;
	transition: border-color .15s ease;
}
.sr-search__box:hover {
	border-color: #F9AB03;
}

.sr-search__icon {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	fill: none;
	stroke: #16bc0e;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: stroke .15s ease;
}
.sr-search__box:hover .sr-search__icon {
	stroke: #F9AB03;
}

.sr-search__input {
	flex: 1 1 auto;
	min-width: 0;
	background: transparent !important;
	border: 0 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	outline: none !important;
	color: #ffffff !important;
	font-size: 14px;
	line-height: 1.4;
	padding: 1px 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
}
.sr-search__input::placeholder { color: #ffffff !important; opacity: 1; }
.sr-search__input::-webkit-search-cancel-button { filter: invert(.55); cursor: pointer; }

.sr-search__results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 99999;
	background: #121212;
	border: 1px solid #2c2c2c;
	border-radius: 10px;
	box-shadow: 0 14px 38px rgba(0, 0, 0, .6);
	overflow: hidden auto;
	max-height: 72vh;
}

.sr-search__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	text-decoration: none;
	border-bottom: 1px solid #1f1f1f;
	transition: background .12s ease;
}
.sr-search__item:last-child { border-bottom: 0; }
.sr-search__item:hover,
.sr-search__item.is-active { background: #1f1f1f; }

.sr-search__cover {
	width: 42px;
	height: 42px;
	border-radius: 6px;
	object-fit: cover;
	flex: 0 0 auto;
	background: #262626;
	display: inline-block;
}
.sr-search__cover--ph {
	background: linear-gradient(135deg, #262626, #1a1a1a);
}

.sr-search__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.sr-search__title {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sr-search__artist {
	color: #16bc0e;
	font-size: 12px;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sr-search__msg {
	padding: 16px 14px;
	color: #aaa;
	font-size: 13px;
	text-align: center;
}

@media (max-width: 600px) {
	.sr-search { max-width: 100%; }
}
