.pfm-hosts,
.pfm-hosts * {
	box-sizing: border-box;
}

.pfm-hosts {
	--pfm-accent: #f309cf;
	--pfm-cyan: #24d9ff;
	--pfm-panel: #0b0824;
	--pfm-text: #fff;
	--pfm-columns: 3;
	position: relative;
	isolation: isolate;
	width: 100%;
	margin: clamp(36px, 6vw, 84px) auto;
	padding: clamp(24px, 4vw, 52px);
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--pfm-accent) 42%, transparent);
	border-radius: 24px;
	color: var(--pfm-text);
	background-color: #050518;
	background:
		radial-gradient(circle at 96% 2%, color-mix(in srgb, var(--pfm-accent) 20%, transparent), transparent 33%),
		radial-gradient(circle at 0 80%, color-mix(in srgb, var(--pfm-cyan) 13%, transparent), transparent 34%),
		#050518;
	box-shadow: inset 0 1px 0 color-mix(in srgb, var(--pfm-accent) 28%, transparent), 0 24px 80px rgba(0, 0, 20, .3);
	font-family: inherit;
	scroll-margin-top: 28px;
}

.pfm-hosts::before {
	position: absolute;
	z-index: -1;
	top: -180px;
	right: -110px;
	width: 420px;
	height: 420px;
	border: 52px solid color-mix(in srgb, var(--pfm-accent) 18%, transparent);
	border-radius: 42% 58% 67% 33% / 45% 38% 62% 55%;
	content: "";
	filter: blur(8px);
	transform: rotate(28deg);
}

.pfm-hosts__header {
	max-width: 760px;
	margin: 0 auto clamp(26px, 4vw, 46px);
	text-align: center;
}

.pfm-hosts__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-bottom: 10px;
	color: var(--pfm-accent);
	font-size: clamp(12px, 1.2vw, 14px);
	font-weight: 800;
	letter-spacing: .14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.pfm-hosts__eyebrow span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pfm-accent);
	box-shadow: 0 0 14px var(--pfm-accent);
}

.pfm-hosts .pfm-hosts__header h2 {
	margin: 0;
	padding: 0;
	color: var(--pfm-text);
	font-size: clamp(30px, 4.5vw, 58px);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: 1.03;
	text-transform: none;
}

.pfm-hosts .pfm-hosts__header p {
	max-width: 600px;
	margin: 15px auto 0;
	padding: 0;
	color: color-mix(in srgb, var(--pfm-text) 68%, transparent);
	font-size: clamp(15px, 1.7vw, 18px);
	line-height: 1.55;
}

.pfm-hosts__grid {
	display: grid;
	grid-template-columns: repeat(var(--pfm-columns), minmax(0, 1fr));
	gap: clamp(16px, 2.4vw, 28px);
}

.pfm-hosts__filters {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0 0 clamp(22px, 3vw, 34px);
	padding: 0;
	flex-wrap: wrap;
}

.pfm-hosts .pfm-hosts__filters button {
	min-width: 48px;
	min-height: 42px;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid color-mix(in srgb, var(--pfm-accent) 40%, #352451);
	border-radius: 999px;
	color: color-mix(in srgb, var(--pfm-text) 74%, transparent);
	background: #0d0926;
	box-shadow: none;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.pfm-hosts .pfm-hosts__filters button:hover,
.pfm-hosts .pfm-hosts__filters button.is-active {
	border-color: var(--pfm-accent);
	color: #fff;
	background: color-mix(in srgb, var(--pfm-accent) 28%, #0d0926);
}

.pfm-host-card[hidden],
.pfm-host-card__show-group[hidden],
.pfm-host-card__slot[hidden] {
	display: none !important;
}

.pfm-host-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--pfm-accent) 34%, #29204d);
	border-radius: 20px;
	color: var(--pfm-text);
	background-color: var(--pfm-panel);
	background: linear-gradient(145deg, color-mix(in srgb, var(--pfm-panel) 94%, #291145), var(--pfm-panel));
	box-shadow: 0 18px 45px rgba(0, 0, 18, .34);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.pfm-host-card:hover {
	border-color: color-mix(in srgb, var(--pfm-accent) 76%, #fff);
	box-shadow: 0 22px 60px color-mix(in srgb, var(--pfm-accent) 14%, rgba(0, 0, 18, .5));
	transform: translateY(-5px);
}

.pfm-host-card__visual {
	position: relative;
	overflow: hidden;
	aspect-ratio: 5 / 6;
	background:
		radial-gradient(circle at 80% 18%, color-mix(in srgb, var(--pfm-accent) 48%, transparent), transparent 40%),
		linear-gradient(145deg, #070723, #180526);
}

.pfm-host-card__image {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	object-fit: cover;
}

.pfm-host-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	background:
		linear-gradient(125deg, transparent 45%, color-mix(in srgb, var(--pfm-cyan) 35%, transparent) 46% 48%, transparent 49%),
		linear-gradient(45deg, transparent 52%, color-mix(in srgb, var(--pfm-accent) 35%, transparent) 53% 55%, transparent 56%);
}

.pfm-host-card__bolt {
	color: var(--pfm-cyan);
	font-size: 100px;
	filter: drop-shadow(0 0 18px var(--pfm-cyan));
}

.pfm-host-card__content {
	display: flex;
	min-height: 185px;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(18px, 2.2vw, 25px);
}

.pfm-hosts .pfm-host-card__content h3 {
	margin: 0 0 13px;
	padding: 0;
	color: var(--pfm-text);
	font-size: clamp(23px, 2.4vw, 32px);
	font-weight: 900;
	letter-spacing: -.025em;
	line-height: 1.05;
	text-transform: none;
}

.pfm-host-card__schedule {
	display: flex;
	width: 100%;
	flex-direction: column;
	gap: 22px;
	padding-top: 16px;
	border-top: 1px solid color-mix(in srgb, var(--pfm-text) 12%, transparent);
}

.pfm-host-card__show-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pfm-host-card__show-group > strong {
	color: var(--pfm-text);
	font-size: clamp(18px, 1.75vw, 23px);
	font-weight: 850;
	line-height: 1.22;
}

.pfm-host-card__times {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pfm-host-card__slot {
	display: block;
}

.pfm-host-card__slot span {
	color: color-mix(in srgb, var(--pfm-text) 78%, transparent);
	font-size: clamp(17px, 1.55vw, 21px);
	font-weight: 500;
	line-height: 1.3;
}

.pfm-hosts-empty {
	padding: 18px 20px;
	border-left: 4px solid #f309cf;
	color: #fff;
	background: #0b0824;
}

@supports not (color: color-mix(in srgb, #fff, #000)) {
	.pfm-hosts {
		border-color: #5c207b;
	}

	.pfm-host-card {
		border-color: #4d2468;
	}

	.pfm-hosts .pfm-hosts__header p,
	.pfm-host-card__airtime {
		color: #b9b5c9;
	}
}

@media (max-width: 980px) {
	.pfm-hosts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* На 2K/4K выходим из узкого max-width контейнера темы и занимаем рабочую область. */
@media (min-width: 2049px) {
	.pfm-hosts {
		left: 50%;
		width: calc(100vw - clamp(500px, 15vw, 640px));
		max-width: 3200px;
		margin-right: 0;
		margin-left: 0;
		padding: clamp(50px, 3vw, 96px);
		border-radius: 32px;
		transform: translateX(-50%);
	}

	.pfm-hosts__header {
		max-width: 1040px;
		margin-bottom: clamp(42px, 3vw, 72px);
	}

	.pfm-hosts__eyebrow {
		font-size: clamp(16px, .65vw, 22px);
	}

	.pfm-hosts .pfm-hosts__header h2 {
		font-size: clamp(60px, 2.4vw, 92px);
	}

	.pfm-hosts .pfm-hosts__header p {
		max-width: 900px;
		font-size: clamp(21px, .85vw, 30px);
	}

	.pfm-hosts__filters {
		gap: 12px;
		margin-bottom: clamp(36px, 2.4vw, 64px);
	}

	.pfm-hosts .pfm-hosts__filters button {
		min-width: 64px;
		min-height: 54px;
		padding: 11px 20px;
		font-size: clamp(18px, .7vw, 24px);
	}

	.pfm-hosts__grid {
		gap: clamp(28px, 1.6vw, 54px);
	}

	.pfm-host-card {
		border-radius: 28px;
	}

	.pfm-host-card__content {
		min-height: 240px;
		padding: clamp(28px, 1.55vw, 50px);
	}

	.pfm-hosts .pfm-host-card__content h3 {
		margin-bottom: 20px;
		font-size: clamp(34px, 1.35vw, 48px);
	}

	.pfm-host-card__schedule {
		gap: 30px;
		padding-top: 22px;
	}

	.pfm-host-card__show-group > strong {
		font-size: clamp(25px, 1vw, 34px);
	}

	.pfm-host-card__slot span {
		font-size: clamp(22px, .85vw, 30px);
	}
}

@media (min-width: 3600px) {
	.pfm-hosts {
		width: calc(100vw - 680px);
	}
}

@media (max-width: 560px) {
	.pfm-hosts {
		padding: 20px 14px;
		border-radius: 18px;
	}

	.pfm-hosts__grid {
		grid-template-columns: 1fr;
	}

	.pfm-host-card__content {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pfm-host-card {
		transition: none;
	}
}
