body.h4f-premium-genre-hubs-active {
	background: #08080d;
}

.h4f-genre-hub {
	--h4f-genre-bg: #090911;
	--h4f-genre-card: rgba(21, 18, 31, .92);
	--h4f-genre-card-2: rgba(31, 24, 45, .88);
	--h4f-genre-line: rgba(255, 255, 255, .1);
	--h4f-genre-text: #fff8ef;
	--h4f-genre-muted: rgba(255, 248, 239, .68);
	--h4f-genre-purple: #8a4dff;
	--h4f-genre-pink: #ff4fd8;
	--h4f-genre-gold: #ffbf5e;
	--h4f-genre-green: #caff6a;
	--h4f-genre-hot: #ff7a3d;
	max-width: 1480px;
	margin: 0 auto;
	padding: 28px 18px 104px;
	color: var(--h4f-genre-text);
}

.h4f-genre-hub--manga {
	--h4f-genre-purple: #7d4cff;
	--h4f-genre-pink: #ff8a3d;
	--h4f-genre-gold: #ffc36b;
	--h4f-genre-green: #ffe27a;
	--h4f-genre-hot: #ff6a2a;
}

.h4f-genre-hub--doujinshi {
	--h4f-genre-purple: #a14dff;
	--h4f-genre-pink: #ff4fb8;
	--h4f-genre-gold: #ffb25e;
	--h4f-genre-green: #f5ff7b;
	--h4f-genre-hot: #ff3d8e;
}

.h4f-genre-hub a {
	text-decoration: none;
}

.h4f-genre-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 950;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--h4f-genre-green);
}

.h4f-genre-eyebrow::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--h4f-genre-green), var(--h4f-genre-gold));
	box-shadow: 0 0 18px rgba(202, 255, 106, .65);
}

.h4f-genre-hero {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(300px, .52fr);
	gap: 24px;
	align-items: stretch;
	padding: 34px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 34px;
	background:
		radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--h4f-genre-purple) 30%, transparent), transparent 38%),
		radial-gradient(circle at 82% 0%, color-mix(in srgb, var(--h4f-genre-pink) 24%, transparent), transparent 34%),
		linear-gradient(135deg, rgba(19,18,32,.98), rgba(12,10,18,.98));
	box-shadow: 0 26px 80px rgba(0, 0, 0, .45);
}

@supports not (color: color-mix(in srgb, red 20%, transparent)) {
	.h4f-genre-hero {
		background:
			radial-gradient(circle at 12% 18%, rgba(138,77,255,.28), transparent 38%),
			radial-gradient(circle at 82% 0%, rgba(255,79,216,.22), transparent 34%),
			linear-gradient(135deg, rgba(19,18,32,.98), rgba(12,10,18,.98));
	}
}

.h4f-genre-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: linear-gradient(135deg, rgba(0,0,0,.72), transparent 78%);
	pointer-events: none;
}

.h4f-genre-hero__glow {
	position: absolute;
	inset: auto -120px -180px auto;
	width: 420px;
	height: 420px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(255,191,94,.24), transparent 62%);
	pointer-events: none;
}

.h4f-genre-hero__copy,
.h4f-genre-hero__panel {
	position: relative;
	z-index: 1;
}

.h4f-genre-hero h1 {
	margin: 12px 0 12px;
	font-size: clamp(34px, 6vw, 78px);
	line-height: .92;
	letter-spacing: -.055em;
	color: #fff;
}

.h4f-genre-hero p {
	max-width: 800px;
	margin: 0;
	font-size: 17px;
	line-height: 1.68;
	color: var(--h4f-genre-muted);
}

.h4f-genre-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.h4f-genre-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 19px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 950;
	letter-spacing: .02em;
}

.h4f-genre-button--primary {
	background: linear-gradient(135deg, var(--h4f-genre-green), var(--h4f-genre-gold));
	color: #15100b;
	box-shadow: 0 14px 34px rgba(255, 191, 94, .22);
}

.h4f-genre-button--ghost {
	border: 1px solid rgba(255,255,255,.13);
	background: rgba(255,255,255,.06);
	color: #fff;
}

.h4f-genre-hero__panel {
	display: grid;
	gap: 12px;
	align-content: center;
}

.h4f-genre-hero__metric {
	padding: 18px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 22px;
	background: rgba(255,255,255,.06);
	backdrop-filter: blur(12px);
}

.h4f-genre-hero__metric strong {
	display: block;
	font-size: 34px;
	line-height: 1;
	color: #fff;
}

.h4f-genre-hero__metric span {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--h4f-genre-muted);
}

.h4f-genre-quick,
.h4f-genre-routes,
.h4f-genre-featured,
.h4f-genre-listing,
.h4f-genre-seo {
	margin-top: 22px;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(18, 16, 28, .94), rgba(10, 10, 17, .92));
	box-shadow: 0 18px 56px rgba(0,0,0,.35);
}

.h4f-genre-quick {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 18px;
}

.h4f-genre-quick h2,
.h4f-genre-section-head h2,
.h4f-genre-seo h2 {
	margin: 5px 0 0;
	font-size: clamp(22px, 3vw, 34px);
	line-height: 1.05;
	letter-spacing: -.035em;
	color: #fff;
}

.h4f-genre-chips,
.h4f-genre-order {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
}

.h4f-genre-chips::-webkit-scrollbar,
.h4f-genre-order::-webkit-scrollbar,
.h4f-genre-featured__rail::-webkit-scrollbar {
	display: none;
}

.h4f-genre-chips a,
.h4f-genre-order a {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 15px;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 999px;
	background: rgba(255,255,255,.055);
	color: #fff;
	font-size: 12px;
	font-weight: 950;
}

.h4f-genre-order a.is-active,
.h4f-genre-chips a:hover,
.h4f-genre-order a:hover {
	border-color: color-mix(in srgb, var(--h4f-genre-green) 45%, transparent);
	background: color-mix(in srgb, var(--h4f-genre-green) 12%, transparent);
	color: var(--h4f-genre-green);
}

.h4f-genre-routes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding: 18px;
}

.h4f-genre-route {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 154px;
	padding: 18px;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 22px;
	background:
		radial-gradient(circle at 86% 0%, rgba(255,191,94,.14), transparent 48%),
		rgba(255,255,255,.055);
	color: #fff;
}

.h4f-genre-route span {
	font-size: 11px;
	font-weight: 950;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--h4f-genre-green);
}

.h4f-genre-route strong {
	margin-top: 8px;
	font-size: 20px;
	line-height: 1.05;
	letter-spacing: -.03em;
}

.h4f-genre-route small {
	margin-top: 9px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--h4f-genre-muted);
}

.h4f-genre-route i {
	margin-top: auto;
	font-style: normal;
	color: var(--h4f-genre-gold);
	font-weight: 950;
}

.h4f-genre-featured,
.h4f-genre-listing,
.h4f-genre-seo {
	padding: 22px;
}

.h4f-genre-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.h4f-genre-section-head--listing {
	align-items: center;
}

.h4f-genre-rail-controls {
	display: flex;
	gap: 8px;
}

.h4f-genre-rail-controls button {
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 999px;
	background: rgba(255,255,255,.07);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.h4f-genre-featured__rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(190px, 220px);
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	padding-bottom: 4px;
}

.h4f-genre-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px 14px;
}

.h4f-genre-card {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 21px;
	background: var(--h4f-genre-card);
	box-shadow: 0 14px 40px rgba(0,0,0,.26);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.h4f-genre-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255,191,94,.42);
	box-shadow: 0 22px 60px rgba(0,0,0,.36);
}

.h4f-genre-card__cover {
	position: relative;
	display: block;
	aspect-ratio: 2 / 3;
	background: linear-gradient(135deg, rgba(138,77,255,.18), rgba(255,191,94,.14));
	color: #fff;
}

.h4f-genre-card__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.h4f-genre-card__fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-weight: 1000;
	letter-spacing: -.08em;
	font-size: 32px;
	color: rgba(255,255,255,.45);
}

.h4f-genre-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.02) 36%, rgba(0,0,0,.78));
	pointer-events: none;
}

.h4f-genre-card__badge,
.h4f-genre-card__pages {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	padding: 0 9px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 1000;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.h4f-genre-card__badge {
	top: 10px;
	left: 10px;
	background: linear-gradient(135deg, var(--h4f-genre-purple), var(--h4f-genre-pink));
	color: #fff;
	box-shadow: 0 8px 24px rgba(138,77,255,.25);
}

.h4f-genre-card__pages {
	right: 10px;
	bottom: 10px;
	background: rgba(0,0,0,.62);
	border: 1px solid rgba(255,255,255,.18);
	color: #fff;
	backdrop-filter: blur(8px);
}

.h4f-genre-card__body {
	padding: 12px;
}

.h4f-genre-card__title {
	margin: 0;
	font-size: 14px;
	line-height: 1.22;
	letter-spacing: -.01em;
}

.h4f-genre-card__title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 34px;
	color: #fff;
}

.h4f-genre-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 9px;
	font-size: 11px;
	font-weight: 850;
	color: var(--h4f-genre-muted);
}

.h4f-genre-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.h4f-genre-card__terms {
	display: flex;
	gap: 6px;
	overflow: hidden;
	margin-top: 10px;
}

.h4f-genre-card__terms a {
	min-width: 0;
	max-width: 100%;
	padding: 5px 8px;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 999px;
	background: rgba(255,255,255,.055);
	color: var(--h4f-genre-muted);
	font-size: 10px;
	font-weight: 950;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.h4f-genre-card__read {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 38px;
	margin-top: 11px;
	padding: 0 12px;
	border-radius: 13px;
	background: linear-gradient(135deg, rgba(255,191,94,.18), rgba(255,122,61,.14));
	color: var(--h4f-genre-green);
	font-size: 12px;
	font-weight: 1000;
}

.h4f-genre-pagination {
	margin-top: 26px;
}

.h4f-genre-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.h4f-genre-pagination a,
.h4f-genre-pagination span {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.12);
	background: rgba(255,255,255,.06);
	color: #fff;
	font-weight: 950;
}

.h4f-genre-pagination .current {
	background: linear-gradient(135deg, var(--h4f-genre-green), var(--h4f-genre-gold));
	color: #15100b;
}

.h4f-genre-seo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
	gap: 22px;
	align-items: start;
}

.h4f-genre-seo p {
	margin: 12px 0 0;
	color: var(--h4f-genre-muted);
	font-size: 15px;
	line-height: 1.75;
}

.h4f-genre-seo a {
	color: var(--h4f-genre-green);
	font-weight: 950;
}

.h4f-genre-seo__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.h4f-genre-seo__links a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 999px;
	background: rgba(255,255,255,.055);
}

.h4f-genre-faq {
	display: grid;
	gap: 10px;
}

.h4f-genre-faq details {
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 18px;
	background: rgba(255,255,255,.055);
	padding: 0;
}

.h4f-genre-faq summary {
	cursor: pointer;
	padding: 15px;
	font-weight: 950;
	color: #fff;
}

.h4f-genre-faq p {
	margin: 0;
	padding: 0 15px 15px;
	font-size: 14px;
}

.h4f-genre-empty {
	padding: 30px;
	border-radius: 22px;
	background: rgba(255,255,255,.055);
	text-align: center;
}

.h4f-genre-empty h2 {
	margin: 0 0 8px;
	color: #fff;
}

.h4f-genre-empty p {
	margin: 0;
	color: var(--h4f-genre-muted);
}

@media (max-width: 1180px) {
	.h4f-genre-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.h4f-genre-hub {
		padding: 18px 12px 112px;
	}

	.h4f-genre-hero,
	.h4f-genre-quick,
	.h4f-genre-seo {
		grid-template-columns: 1fr;
	}

	.h4f-genre-routes {
		grid-template-columns: 1fr;
	}

	.h4f-genre-hero {
		padding: 24px;
		border-radius: 26px;
	}

	.h4f-genre-section-head,
	.h4f-genre-section-head--listing {
		align-items: flex-start;
		flex-direction: column;
	}

	.h4f-genre-order {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.h4f-genre-hub {
		padding-left: 10px;
		padding-right: 10px;
	}

	.h4f-genre-hero {
		padding: 20px;
	}

	.h4f-genre-hero h1 {
		font-size: 38px;
	}

	.h4f-genre-hero p {
		font-size: 14px;
	}

	.h4f-genre-hero__panel {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.h4f-genre-hero__metric {
		padding: 12px 8px;
		text-align: center;
	}

	.h4f-genre-hero__metric strong {
		font-size: 24px;
	}

	.h4f-genre-hero__metric span {
		font-size: 9px;
	}

	.h4f-genre-featured,
	.h4f-genre-listing,
	.h4f-genre-seo,
	.h4f-genre-quick,
	.h4f-genre-routes {
		padding: 14px;
		border-radius: 22px;
	}

	.h4f-genre-featured__rail {
		grid-auto-columns: minmax(155px, 48%);
	}

	.h4f-genre-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 10px;
	}

	.h4f-genre-card {
		border-radius: 17px;
	}

	.h4f-genre-card__body {
		padding: 10px;
	}

	.h4f-genre-card__title {
		font-size: 13px;
	}

	.h4f-genre-card__terms a:nth-child(n+3),
	.h4f-genre-card__meta span:nth-child(n+3) {
		display: none;
	}

	.h4f-genre-rail-controls {
		display: none;
	}
}
