/* Channel page /watch/channel/<slug>/ (2026-11-28). Loaded only on channel pages, after vod.css.
 * Scoped under .svod-ch so series / watch pages that share vod.css don't change.
 * Colours follow vod.css (#11182f / #1d2742 / #e7ebf5 / #8b93ad, accent #ff2e88). */

/* .svod-wrap is a column flexbox with align-items:flex-start, which shrinks headings and
   grids to their content; stretch them to the full width. */
.svod-wrap.svod-ch { align-items: stretch; }

/* ── Hero: cover + overlapping avatar ─────────────────────────────────── */
.svod-ch-hero {
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	background: #11182f;
	border: 1px solid #1d2742;
}
.svod-ch-cover {
	height: clamp(120px, 22vw, 240px);
	background: #0c1330 center / cover no-repeat;
	position: relative;
}
.svod-ch-cover::after { /* soft fade into the info panel */
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 60%;
	background: linear-gradient(180deg, rgba(17, 24, 47, 0), #11182f);
}
.svod-ch-cover.is-empty {
	background:
		radial-gradient(120% 140% at 0% 0%, rgba(255, 46, 136, .45), transparent 55%),
		radial-gradient(120% 140% at 100% 100%, rgba(110, 139, 255, .45), transparent 55%),
		#151e3a;
}
.svod-ch .svod-chan-hero.svod-ch-head {
	position: relative;
	align-items: flex-end;
	gap: 20px;
	margin-top: -56px;
	padding: 0 24px 22px;
	background: transparent;
	border: 0;
	border-radius: 0;
}
.svod-ch .svod-chan-hero-av {
	width: 112px;
	height: 112px;
	flex: 0 0 112px;
	border: 4px solid #11182f;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}
.svod-ch .svod-chan-hero-i h1 { font-size: 26px; margin: 0 0 8px; }
.svod-ch-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	color: #8b93ad;
	font-size: 13px;
}
.svod-ch-stats b { color: #e7ebf5; font-weight: 700; }
.svod-ch-joined { color: #6f7896; }
.svod-ch-bio {
	margin: 10px 0 0;
	max-width: 46em;
	color: #c7cfe6;
	font-size: 14px;
	line-height: 1.6;
	white-space: pre-line;
}
.svod-ch-acts {
	display: flex;
	gap: 8px;
	flex: 0 0 auto;
	align-self: center;
	margin-top: 40px;
}
.svod-ch-btn2 {
	display: inline-flex;
	align-items: center;
	padding: 9px 18px;
	border-radius: 22px;
	border: 1px solid #2a3556;
	color: #e7ebf5 !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
.svod-ch-btn2:hover { border-color: #ff2e88; }

/* ── Tabs + section headings ──────────────────────────────────────────── */
.svod-ch .svod-tabs { margin-top: 16px; }
.svod-ch .svod-sec-h {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 26px 0 12px;
}
.svod-ch .svod-seemore {
	margin-left: auto;
	padding: 5px 12px;
	border-radius: 999px;
	background: #11182f;
	border: 1px solid #1d2742;
}

/* ── Grids (instead of one-card carousels) ─────────────────────────────── */
.svod-ch-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}
.svod-ch-grid--poster { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.svod-ch-grid > .svod-card,
.svod-ch-grid > .svod-cardw { width: auto; min-width: 0; }
.svod-ch .svod-card { border-radius: 12px; }
.svod-ch .svod-card-th { border-radius: 12px 12px 0 0; }
.svod-ch .svod-card-t {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* Owner menu button: always visible on touch screens (there is no hover). */
@media (hover: none) { .svod-ch .svod-kebab-b { opacity: 1; } }

/* ── Latest posts as cards ─────────────────────────────────────────────── */
.svod-ch-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}
.svod-ch .svod-postprev-i.svod-ch-post {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0;
	padding: 0;
	border-radius: 12px;
	overflow: hidden;
}
.svod-ch-post-th {
	display: block;
	aspect-ratio: 16 / 9;
	background: #0c1330 center / cover no-repeat;
}
.svod-ch-post-b {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 14px 12px;
	flex: 1;
}
.svod-ch .svod-ch-post .svod-postprev-t {
	font-size: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.svod-ch .svod-ch-post .svod-postprev-d { margin-top: auto; font-size: 12px; }

/* ── Phones ───────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
	.svod-ch-hero { border-radius: 12px; }
	.svod-ch .svod-chan-hero.svod-ch-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		margin-top: -44px;
		padding: 0 16px 18px;
	}
	.svod-ch .svod-chan-hero-av { width: 84px; height: 84px; flex-basis: 84px; }
	.svod-ch .svod-chan-hero-i h1 { font-size: 22px; }
	.svod-ch-acts { margin-top: 0; align-self: stretch; }
	.svod-ch-acts > * { flex: 1; justify-content: center; text-align: center; }
	.svod-ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.svod-ch-grid--poster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.svod-ch-posts { grid-template-columns: 1fr; }
}
