/**
 * StreamSera — stations directory.
 *
 * Plain CSS, loaded as is (no build step).
 */

html,
body {
	margin: 0;
	min-height: 100%;
}
body.streamsera-stations {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: #0b0d14;
	color: #e7e9f2;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	line-height: 1.45;
}
body.streamsera-stations.is-light {
	background: #f5f6fb;
	color: #131627;
}
.ss-sa__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
}
.ss-sa__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
	font-weight: 600;
}
.ss-sa__brand img {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	object-fit: cover;
}
.ss-sa__back {
	color: inherit;
	opacity: 0.7;
	text-decoration: none;
	font-size: 14px;
}
.ss-sa__main {
	flex: 1;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 8px 24px 48px;
	box-sizing: border-box;
}
.ss-sa__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 12px 20px;
	margin-bottom: 20px;
}
.ss-sa__head h1 {
	margin: 0;
	font-size: 28px;
	letter-spacing: -0.01em;
}
.ss-sa__head p {
	margin: 4px 0 0;
	opacity: 0.65;
	font-size: 14px;
}
.ss-sa__tools {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.ss-sa__search {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 12px;
	border-radius: 12px;
	border: 1px solid #ffffff22;
	background: #ffffff10;
	min-width: 220px;
}
.is-light .ss-sa__search {
	background: #fff;
	border-color: #00000018;
}
.ss-sa__search svg {
	width: 16px;
	height: 16px;
	opacity: 0.6;
	flex: none;
}
.ss-sa__search input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	outline: none;
}
.ss-sa__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.ss-sa__chips button {
	appearance: none;
	border: 1px solid #ffffff22;
	background: #ffffff10;
	color: inherit;
	border-radius: 999px;
	padding: 7px 12px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.is-light .ss-sa__chips button {
	background: #fff;
	border-color: #00000018;
}
.ss-sa__chips button[aria-pressed="true"] {
	background: #6366f1;
	border-color: #6366f1;
	color: #fff;
}
.ss-sa__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
}
.ss-sa__card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border-radius: 18px;
	background: #ffffff0f;
	border: 1px solid #ffffff14;
	color: inherit;
	text-decoration: none;
	transition:
		transform 0.15s ease,
		border-color 0.15s ease;
	min-width: 0;
}
.is-light .ss-sa__card {
	background: #fff;
	border-color: #0000000f;
}
.ss-sa__card:hover {
	transform: translateY(-2px);
	border-color: #6366f1;
}
.ss-sa__card.is-hidden {
	display: none;
}
.ss-sa__art {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 14px;
	object-fit: cover;
	background: linear-gradient(135deg, #6366f1, #22d3ee);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	font-weight: 800;
	color: #fff;
	overflow: hidden;
}
.ss-sa__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ss-sa__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 2px;
}
.ss-sa__name {
	display: block;
	font-weight: 700;
	font-size: 16px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ss-sa__sub {
	display: block;
	font-size: 13px;
	opacity: 0.7;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ss-sa__tags {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.ss-sa__tag {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 999px;
	background: #ffffff14;
	opacity: 0.8;
}
.is-light .ss-sa__tag {
	background: #00000010;
}
.ss-sa__live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: #ef4444;
}
.ss-sa__live::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ef4444;
}
.ss-sa__empty {
	padding: 40px;
	text-align: center;
	opacity: 0.6;
}
.ss-sa__foot {
	padding: 16px 24px;
	text-align: center;
	font-size: 12px;
	opacity: 0.55;
}
.ss-sa__foot a {
	color: inherit;
}
@media (max-width: 600px) {
	.ss-sa__top {
		padding: 14px 16px;
	}
	.ss-sa__main {
		padding: 4px 16px 32px;
	}
	.ss-sa__grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 10px;
	}
	.ss-sa__card {
		padding: 12px;
		gap: 8px;
	}
	.ss-sa__head h1 {
		font-size: 22px;
	}
}
