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

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

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

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

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

.h4f-manhwa-hero {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) 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%, rgba(138,77,255,.28), transparent 38%),
		radial-gradient(circle at 80% 0%, rgba(255,79,216,.22), 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);
}

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

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

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

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

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

.h4f-manhwa-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: 900;
	letter-spacing: .02em;
}

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

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

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

.h4f-manhwa-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-manhwa-hero__metric strong {
	display: block;
	font-size: 34px;
	line-height: 1;
	color: #fff;
}

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

.h4f-manhwa-quick,
.h4f-manhwa-featured,
.h4f-manhwa-listing,
.h4f-manhwa-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-manhwa-quick {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 18px;
}

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

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

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

.h4f-manhwa-chips a,
.h4f-manhwa-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: 900;
}

.h4f-manhwa-order a.is-active,
.h4f-manhwa-chips a:hover,
.h4f-manhwa-order a:hover {
	border-color: rgba(202,255,106,.45);
	background: rgba(202,255,106,.12);
	color: var(--h4f-manhwa-green);
}

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

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

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

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

.h4f-manhwa-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-manhwa-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-manhwa-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px 14px;
}

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

.h4f-manhwa-card:hover {
	transform: translateY(-3px);
	border-color: rgba(202,255,106,.35);
	box-shadow: 0 22px 60px rgba(0,0,0,.36);
}

.h4f-manhwa-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-manhwa-card__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

.h4f-manhwa-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-manhwa-card__body {
	padding: 12px;
}

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

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

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

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

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

.h4f-manhwa-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-manhwa-muted);
	font-size: 10px;
	font-weight: 900;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.h4f-manhwa-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(202,255,106,.18), rgba(255,191,94,.14));
	color: var(--h4f-manhwa-green);
	font-size: 12px;
	font-weight: 1000;
}

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

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

.h4f-manhwa-pagination a,
.h4f-manhwa-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: 900;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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