.tn-homepage.wrap {
	max-width: 1248px;
	padding-block: 20px 44px;
}

.tn-homepage > section + section,
.tn-homepage > section + .tn-home-clip-groups,
.tn-home-clip-groups + section,
.tn-home-clip-groups section + section {
	margin-top: clamp(26px, 3vw, 40px);
}

.tn-home-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	margin-bottom: 12px;
}

.tn-home-heading h2 {
	margin: 0;
	font: 800 clamp(21px, 2.45vw, 33px)/1.15 Manrope, Inter, sans-serif;
	letter-spacing: -.035em;
}

.tn-home-heading > a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 28px;
	font-size: clamp(12px, 1.2vw, 15px);
	font-weight: 700;
	white-space: nowrap;
}

.tn-home-news-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
	gap: 12px;
}

.tn-home-news-grid--single {
	grid-template-columns: minmax(0, 1fr);
}

.tn-home-news-more {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.tn-home-news-more .tn-home-story {
	min-height: clamp(155px, 16vw, 205px);
}

.tn-home-story {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: end;
	min-width: 0;
	min-height: 144px;
	overflow: hidden;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text);
}

.tn-home-story--lead {
	grid-row: span 2;
	min-height: clamp(288px, 27vw, 372px);
}

.tn-home-news-grid > .tn-home-story:nth-child(2):last-child {
	grid-row: span 2;
}

.tn-home-story:hover,
.tn-home-profile:hover {
	border-color: var(--accent);
	text-decoration: none;
}

.tn-home-story--with-cover {
	color: #fff;
	background: #16161f;
}

.tn-home-story--with-cover::after,
.tn-home-story > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.tn-home-story > img {
	z-index: -2;
	object-fit: cover;
	object-position: center 38%;
}

.tn-home-story--with-cover::after {
	z-index: -1;
	content: '';
	background: linear-gradient(0deg, #0e0e14 0%, #0e0e14db 22%, #0e0e144d 66%, transparent 100%);
}

.tn-home-story__copy {
	min-width: 0;
	padding: 14px 16px;
	overflow-wrap: anywhere;
}

.tn-home-story--lead .tn-home-story__copy {
	max-width: 760px;
	padding: clamp(18px, 2.2vw, 30px);
}

.tn-home-story h3 {
	margin: 0;
	font: 800 clamp(15px, 1.65vw, 22px)/1.18 Manrope, Inter, sans-serif;
	letter-spacing: -.025em;
}

.tn-home-story--lead h3 {
	font-size: clamp(25px, 3vw, 40px);
}

.tn-home-story p {
	max-width: 58ch;
	margin: 9px 0 0;
	font-size: 14px;
	line-height: 1.4;
}

.tn-home-story time {
	display: block;
	margin-top: 6px;
	color: var(--muted);
	font-size: 12px;
}

.tn-home-story--with-cover time {
	color: #d3d3df;
}

.tn-home-live,
.tn-home-profiles,
.tn-home-clips__grid {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tn-home-live {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tn-home-live__card {
	display: block;
	color: var(--text);
}

.tn-home-live__card:hover {
	text-decoration: none;
}

.tn-home-live__preview {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	margin-bottom: 7px;
	background: var(--card2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.tn-home-live__card:hover .tn-home-live__preview {
	border-color: var(--accent);
}

.tn-home-live__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tn-home-live__avatar,
.tn-home-profile__avatar {
	width: 72px;
	height: 72px;
	font-size: 27px;
}

.tn-home-live__badge,
.tn-home-live__viewers {
	position: absolute;
	top: 8px;
	padding: 4px 6px;
	border-radius: 5px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.tn-home-live__badge {
	left: 8px;
	background: #c71328;
}

.tn-home-live__viewers {
	inset: auto 8px 8px auto;
	background: #111119eb;
}

.tn-home-live__card strong,
.tn-home-live__game {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tn-home-live__game,
.tn-home-profile__detail {
	margin-top: 3px;
	color: var(--muted);
	font-size: 13px;
}

.tn-home-profiles {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tn-home-profile {
	display: flex;
	height: 100%;
	flex-direction: column;
	align-items: center;
	padding: 13px 8px;
	color: var(--text);
	text-align: center;
	overflow-wrap: anywhere;
}

.tn-home-profile__avatar {
	margin-bottom: 8px;
}

.tn-home-clips__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tn-home-clips__grid .catalog-clip__streamer {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 13px;
}

.tn-home-clips__grid .catalog-clip__date {
	display: none;
}

.tn-home-load {
	position: relative;
	text-align: center;
}

.tn-home-load__button {
	margin-top: 16px;
	min-height: 44px;
}

.tn-home-load__button:disabled {
	cursor: progress;
	opacity: .7;
}

.tn-home-load__status:not(:empty) {
	display: block;
	margin-top: 8px;
	color: var(--muted);
	font-size: 13px;
}

.tn-home-empty {
	margin-block: 0;
	color: var(--muted);
}

body.tn-editorial-home .site .btn-write,
body.tn-editorial-home .bnav .bn-plus {
	display: none;
}

body.tn-editorial-home .site .site-row {
	max-width: 1248px;
}

body.tn-editorial-home .site .tn-header-login {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff !important;
}

body.tn-editorial-home .site .tn-header-login:hover {
	background: var(--accent-hover);
}

body.tn-editorial-home .bnav {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
	.tn-home-profiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tn-home-news-more {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.tn-homepage.wrap {
		padding-top: 14px;
	}

	.tn-home-news-grid,
	.tn-home-news-more {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.tn-home-story--lead {
		grid-row: auto;
		min-height: 220px;
	}

	.tn-home-news-grid > .tn-home-story:nth-child(2):last-child {
		grid-row: auto;
	}

	.tn-home-story--lead .tn-home-story__copy {
		padding: 14px;
	}

	.tn-home-story--lead p {
		display: none;
	}

	.tn-home-story:not(.tn-home-story--lead) {
		align-items: center;
		min-height: 64px;
		background: var(--card);
		color: var(--text);
	}

	.tn-home-story:not(.tn-home-story--lead)::after {
		content: none;
	}

	.tn-home-story:not(.tn-home-story--lead) img {
		position: static;
		width: 27%;
		height: 56px;
		margin: 4px 0 4px 4px;
		border-radius: 7px;
		flex: none;
		z-index: auto;
	}

	.tn-home-story:not(.tn-home-story--lead) .tn-home-story__copy {
		padding: 8px 10px;
	}

	.tn-home-story:not(.tn-home-story--lead) time {
		color: var(--muted);
	}

	.tn-home-live {
		grid-template-columns: none;
		grid-auto-columns: min(46%, 265px);
		grid-auto-flow: column;
		gap: 8px;
		overflow-x: auto;
		padding: 3px 3px 8px;
		margin-inline: -3px;
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
	}

	.tn-home-live > li {
		min-width: 0;
		scroll-snap-align: start;
	}

	.tn-home-profiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tn-home-clips__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}
