/* HanimeStream 3D Hentai Series */
:root {
	--hs3ds-line: rgba(255,255,255,.10);
	--hs3ds-copy: #fbf9ff;
	--hs3ds-muted: rgba(224,216,237,.70);
	--hs3ds-cyan: #48d8ff;
	--hs3ds-violet: #9b5cff;
}

#primary.hs3ds-primary,
#primary.hs3ds-primary .site-main {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

#primary.hs3ds-primary { padding: 0 !important; }

.hs3ds-shell {
	width: min(1480px, calc(100% - 36px));
	margin: 0 auto 54px;
}

.hs3ds-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 20px 0 13px;
	color: rgba(213,204,229,.62);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .025em;
}

.hs3ds-breadcrumbs a { color: rgba(213,204,229,.70); text-decoration: none !important; }
.hs3ds-breadcrumbs a:hover,
.hs3ds-breadcrumbs strong { color: #fff; }

.hs3ds-hero,
.hs3ds-series-hero {
	position: relative;
	overflow: hidden;
	margin: 0 0 22px;
	border: 1px solid rgba(72,216,255,.22);
	border-radius: 22px;
	background:
		radial-gradient(520px 260px at 5% -18%, rgba(72,216,255,.18), transparent 67%),
		radial-gradient(440px 260px at 92% 112%, rgba(155,92,255,.18), transparent 68%),
		linear-gradient(135deg,#101b27 0%,#0c0e14 54%,#101323 100%);
	box-shadow: 0 22px 58px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
	isolation: isolate;
}

.hs3ds-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	align-items: center;
	padding: clamp(26px, 3.8vw, 54px);
}

.hs3ds-hero::before,
.hs3ds-series-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
	background-size: 30px 30px;
	mask-image: linear-gradient(90deg, #000, transparent 84%);
}

.hs3ds-eyebrow,
.hs3ds-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #a7efff;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .16em;
	line-height: 1;
	text-transform: uppercase;
}

.hs3ds-hero h1,
.hs3ds-series-hero h1 {
	max-width: 880px;
	margin: 14px 0 13px !important;
	color: var(--hs3ds-copy) !important;
	font-size: clamp(34px, 4.4vw, 64px) !important;
	font-weight: 950 !important;
	letter-spacing: -.055em;
	line-height: .96 !important;
	text-transform: none !important;
}

.hs3ds-hero p,
.hs3ds-series-hero p {
	max-width: 760px;
	margin: 0;
	color: var(--hs3ds-muted);
	font-size: clamp(13px, 1.3vw, 16px);
	font-weight: 600;
	line-height: 1.64;
}

.hs3ds-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 19px;
}

.hs3ds-facts span {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 999px;
	background: rgba(8,7,14,.38);
	color: rgba(241,236,250,.84);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.hs3ds-facts b { margin-right: 4px; color: #fff; }

.hs3ds-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	border: 1px solid rgba(255,255,255,.11);
	border-radius: 15px;
	background: rgba(7,7,12,.42);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.hs3ds-actions span {
	color: rgba(224,216,237,.60);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.hs3ds-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 1px solid rgba(255,255,255,.10);
	border-radius: 10px;
	background: rgba(255,255,255,.025);
	color: rgba(242,237,250,.88) !important;
	font-size: 11px;
	font-weight: 900;
	text-decoration: none !important;
	transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hs3ds-actions a:hover,
.hs3ds-actions a.is-active {
	border-color: rgba(72,216,255,.48);
	background: linear-gradient(135deg, rgba(72,216,255,.18), rgba(141,92,255,.22));
	color: #fff !important;
	transform: translateY(-1px);
}

.hs3ds-library {
	margin: 0 0 28px;
	padding: clamp(18px, 2vw, 26px);
	border: 1px solid var(--hs3ds-line);
	border-radius: 20px;
	background:
		radial-gradient(460px 170px at 7% -100px, rgba(72,216,255,.11), transparent 70%),
		linear-gradient(180deg, rgba(255,255,255,.027), rgba(255,255,255,.012)),
		rgba(12,11,18,.80);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 16px 38px rgba(0,0,0,.19);
}

.hs3ds-library-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 20px;
}

.hs3ds-library h2 {
	margin: 0 !important;
	color: #faf8ff !important;
	font-size: clamp(24px, 2.5vw, 32px) !important;
	font-weight: 950 !important;
	letter-spacing: -.045em;
	line-height: 1.02 !important;
	text-transform: none !important;
}

.hs3ds-browse-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid rgba(255,255,255,.11);
	border-radius: 999px;
	background: rgba(255,255,255,.025);
	color: rgba(238,231,249,.84) !important;
	font-size: 10px;
	font-weight: 900;
	text-decoration: none !important;
}

.hs3ds-grid,
.hs3ds-episode-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px 20px;
}

.hs3ds-card a,
.hs3ds-episode-card a {
	display: block;
	color: inherit;
	text-decoration: none !important;
}

.hs3ds-card-media,
.hs3ds-episode-media {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 1px solid rgba(255,255,255,.11);
	border-radius: 16px;
	background: linear-gradient(135deg, #173344, #10131b 58%, #242041);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
	isolation: isolate;
	transition: transform .20s ease, border-color .20s ease, box-shadow .20s ease;
}

.hs3ds-card:hover .hs3ds-card-media,
.hs3ds-episode-card:hover .hs3ds-episode-media {
	border-color: rgba(72,216,255,.58);
	box-shadow: 0 18px 32px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.07);
	transform: translateY(-4px);
}

.hs3ds-card-media img,
.hs3ds-episode-media img,
.hs3ds-fallback {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hs3ds-fallback { background: linear-gradient(135deg, #173344, #10131b 58%, #242041); }

.hs3ds-card-shade {
	position: absolute;
	z-index: 2;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(7,6,14,.04) 16%, rgba(7,6,14,.05) 38%, rgba(7,6,14,.84) 100%);
}

.hs3ds-badge,
.hs3ds-count {
	position: absolute;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	min-height: 23px;
	padding: 0 8px;
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 999px;
	background: rgba(8,7,14,.70);
	box-shadow: 0 4px 12px rgba(0,0,0,.18);
	color: #fff;
	font-size: 8px;
	font-weight: 950;
	letter-spacing: .07em;
	line-height: 1;
	text-transform: uppercase;
}

.hs3ds-badge { top: 9px; left: 9px; border-color: rgba(72,216,255,.30); }
.hs3ds-count { right: 9px; bottom: 9px; border-color: rgba(155,92,255,.34); }

.hs3ds-play {
	position: absolute;
	z-index: 5;
	top: 50%;
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 50%;
	background: rgba(8,7,14,.68);
	box-shadow: 0 10px 22px rgba(0,0,0,.30);
	color: #fff;
	opacity: 0;
	transform: translate(-50%, -44%) scale(.88);
	transition: opacity .18s ease, transform .20s ease, background .18s ease;
}

.hs3ds-card:hover .hs3ds-play,
.hs3ds-episode-card:hover .hs3ds-play {
	background: linear-gradient(135deg, #3fcfee, #855eff);
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.hs3ds-card-body {
	display: block;
	padding: 12px 2px 0;
}

.hs3ds-card-label {
	display: block;
	margin: 0 0 6px;
	color: #9f8be4;
	font-size: 9px;
	font-weight: 950;
	letter-spacing: .09em;
	line-height: 1;
	text-transform: uppercase;
}

.hs3ds-card-body strong {
	display: -webkit-box;
	overflow: hidden;
	min-height: 40px;
	color: #fbf9ff;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: -.02em;
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.hs3ds-card-body small {
	display: block;
	margin-top: 5px;
	color: rgba(224,216,237,.62);
	font-size: 10px;
	font-weight: 750;
}

.hs3ds-series-hero {
	display: grid;
	grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
	gap: clamp(22px, 4vw, 44px);
	align-items: center;
	padding: clamp(20px, 3vw, 34px);
}

.hs3ds-series-cover {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 17px;
	background: rgba(255,255,255,.03);
	box-shadow: 0 18px 40px rgba(0,0,0,.24);
}

.hs3ds-series-cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hs3ds-seo-copy,
.hs3ds-empty {
	padding: clamp(22px, 2.5vw, 34px);
	border: 1px solid var(--hs3ds-line);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255,255,255,.027), rgba(255,255,255,.012)), rgba(13,12,20,.78);
	color: rgba(224,216,237,.72);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.hs3ds-seo-copy h2,
.hs3ds-empty h1,
.hs3ds-empty h2 {
	margin: 0 0 10px !important;
	color: #f8f4ff !important;
	font-size: clamp(22px, 2.2vw, 30px) !important;
	font-weight: 950 !important;
	letter-spacing: -.04em;
	line-height: 1.05 !important;
	text-transform: none !important;
}

.hs3ds-empty p,
.hs3ds-seo-copy p {
	max-width: 760px;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.7;
}

.hs3ds-empty a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	margin-top: 16px;
	padding: 0 14px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 10px;
	background: rgba(255,255,255,.035);
	color: #fff !important;
	font-size: 11px;
	font-weight: 900;
	text-decoration: none !important;
}

@media (max-width: 1220px) {
	.hs3ds-grid,
	.hs3ds-episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
	.hs3ds-shell { width: min(100% - 24px, 1480px); }
	.hs3ds-hero,
	.hs3ds-series-hero { grid-template-columns: 1fr; }
	.hs3ds-actions { max-width: 540px; }
	.hs3ds-library-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
	.hs3ds-shell { width: 100%; margin-bottom: 28px; }
	.hs3ds-breadcrumbs { margin: 15px 13px 11px; font-size: 9px; }
	.hs3ds-hero,
	.hs3ds-series-hero { margin: 0 9px 14px; padding: 24px 18px; border-radius: 16px; }
	.hs3ds-hero h1,
	.hs3ds-series-hero h1 { font-size: 31px !important; }
	.hs3ds-hero p,
	.hs3ds-series-hero p { font-size: 12px; line-height: 1.6; }
	.hs3ds-actions { padding: 12px; border-radius: 12px; }
	.hs3ds-library { margin: 0; padding: 17px 10px 19px; border-right: 0; border-left: 0; border-radius: 0; }
	.hs3ds-library h2 { font-size: 23px !important; }
	.hs3ds-grid,
	.hs3ds-episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
	.hs3ds-card-media,
	.hs3ds-episode-media { border-radius: 12px; }
	.hs3ds-card-body { padding: 9px 1px 1px; }
	.hs3ds-card-body strong { min-height: 34px; font-size: 11px; line-height: 1.3; }
	.hs3ds-card-label { font-size: 8px; }
	.hs3ds-play { display: none; }
	.hs3ds-badge,
	.hs3ds-count { min-height: 18px; padding: 0 5px; font-size: 7px; }
	.hs3ds-badge { top: 6px; left: 6px; }
	.hs3ds-count { right: 6px; bottom: 6px; }
	.hs3ds-seo-copy,
	.hs3ds-empty { margin: 0 9px; padding: 19px 17px; border-radius: 14px; }
}
