.sz-player-wrap {
	box-sizing: border-box;
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	overflow: hidden;
	margin: 0 auto 2rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
	max-width: 100%;
}

.sz-player-wrap *,
.sz-player-wrap *::before,
.sz-player-wrap *::after {
	box-sizing: border-box;
}

.sz-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	border-bottom: 1px solid #F1F5F9;
}

.sz-header__icon {
	width: 40px;
	height: 40px;
	background: #EFF6FF;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.sz-header__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sz-header__title {
	font-weight: 700;
	font-size: 1rem;
	color: #1E293B;
	line-height: 1.3;
}

.sz-header__desc {
	font-size: .82rem;
	color: #64748B;
	margin-top: 1px;
}

.sz-header__count {
	font-size: .78rem;
	font-weight: 600;
	background: #F1F5F9;
	color: #475569;
	padding: 4px 10px;
	border-radius: 20px;
	white-space: nowrap;
}

.sz-body {
	display: grid;
	grid-template-columns: 1fr 280px;
	align-items: stretch;
	min-height: 0;
}

.sz-player {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sz-iframe-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
}

.sz-iframe-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.sz-now {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-top: 1px solid #F1F5F9;
	flex-wrap: wrap;
}

.sz-now__name {
	font-size: .88rem;
	font-weight: 600;
	color: #1E293B;
	flex: 1;
	min-width: 0;
}

.sz-now__dur {
	font-size: .80rem;
	color: #94A3B8;
	white-space: nowrap;
}

.sz-badge {
	display: inline-block;
	font-size: .68rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
	letter-spacing: .04em;
	white-space: nowrap;
}

.sz-playlist {
	border-left: 1px solid #F1F5F9;
	display: flex;
	flex-direction: column;
	min-height: 0;
	max-height: 100%;
}

.sz-playlist__header {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #94A3B8;
	padding: 12px 16px 8px;
	border-bottom: 1px solid #F1F5F9;
}

.sz-playlist__list {
	overflow-y: auto;
	flex: 1;
}

.sz-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	cursor: pointer;
	border-bottom: 1px solid #F8FAFC;
	transition: background .15s;
}

.sz-item:last-child {
	border-bottom: none;
}

.sz-item:hover,
.sz-item:focus-visible {
	background: #F8FAFC;
	outline: none;
}

.sz-item--active {
	background: #EFF6FF !important;
}

.sz-item--active .sz-item__icon {
	color: #2563EB;
}

.sz-item:not(.sz-item--active) .sz-item__icon {
	color: #CBD5E1;
}

.sz-item__icon {
	flex-shrink: 0;
	margin-top: 2px;
}

.sz-item__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.sz-item__name {
	font-size: .84rem;
	font-weight: 600;
	color: #1E293B;
	white-space: normal;
	line-height: 1.3;
}

.sz-item--active .sz-item__name {
	color: #2563EB;
}

.sz-item__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.sz-duration {
	font-size: .76rem;
	color: #94A3B8;
}

@media (max-width: 680px) {
	.sz-body {
		grid-template-columns: 1fr;
	}

	.sz-playlist {
		border-left: none;
		border-top: 1px solid #F1F5F9;
		max-height: none;
	}

	.sz-playlist__list {
		max-height: 320px;
	}
}

.sz-header__cats,
.sz-card__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 6px;
}

.sz-header__cat,
.sz-card__cat {
	display: inline-block;
	font-size: .72rem;
	font-weight: 700;
	color: #2563EB;
	background: #EFF6FF;
	padding: 3px 8px;
	border-radius: 999px;
	line-height: 1.3;
}

.sz-catalog {
	box-sizing: border-box;
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0 auto 2rem;
	max-width: 100%;
}

.sz-catalog *,
.sz-catalog *::before,
.sz-catalog *::after {
	box-sizing: border-box;
}

.sz-catalog__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.sz-filter {
	appearance: none;
	border: 1px solid #E2E8F0;
	background: #fff;
	color: #475569;
	font: inherit;
	font-size: .84rem;
	font-weight: 700;
	padding: 7px 12px;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.sz-filter:hover,
.sz-filter:focus-visible {
	border-color: #93C5FD;
	outline: none;
}

.sz-filter.is-active {
	background: #2563EB;
	border-color: #2563EB;
	color: #fff;
}

.sz-filter__count {
	font-size: .72rem;
	font-weight: 700;
	background: rgba(148, 163, 184, .18);
	border-radius: 999px;
	padding: 1px 6px;
}

.sz-filter.is-active .sz-filter__count {
	background: rgba(255, 255, 255, .22);
}

.sz-catalog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
}

.sz-card {
	appearance: none;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	text-align: left;
	padding: 0;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	cursor: pointer;
	font: inherit;
	color: inherit;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}

.sz-card:hover,
.sz-card:focus-visible {
	border-color: #93C5FD;
	outline: none;
}

.sz-card.is-selected {
	border-color: #2563EB;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, .18);
}

.sz-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: #E2E8F0;
}

.sz-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sz-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px 14px;
	min-width: 0;
}

.sz-card__cats {
	margin-top: 0;
}

.sz-card__title {
	font-size: .98rem;
	font-weight: 700;
	color: #1E293B;
	line-height: 1.3;
}

.sz-card__desc {
	font-size: .82rem;
	color: #64748B;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sz-card__count {
	font-size: .76rem;
	font-weight: 700;
	color: #94A3B8;
}

.sz-catalog__empty,
.sz-catalog__loading {
	margin: 12px 0 0;
	color: #64748B;
	font-size: .9rem;
}

.sz-catalog__player {
	margin-top: 16px;
}

.sz-catalog__player .sz-player-wrap {
	margin-bottom: 0;
}

.sz-catalog__player-bar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 8px;
}

.sz-catalog__close {
	appearance: none;
	border: 1px solid #E2E8F0;
	background: #fff;
	color: #475569;
	font: inherit;
	font-size: .8rem;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 999px;
	cursor: pointer;
}

.sz-catalog__close:hover,
.sz-catalog__close:focus-visible {
	border-color: #93C5FD;
	color: #2563EB;
	outline: none;
}
