/* 看成人：夜间影院皮。封面标题 / 更新角标保持现有细节。 */
html { -webkit-text-size-adjust: 100%; }
html, body {
	background: #07080c;
	color: #e8ebf2;
	font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
body {
	min-width: 320px;
	background-image:
		radial-gradient(1100px 420px at 18% -120px, rgba(226, 61, 92, 0.18), transparent 58%),
		radial-gradient(900px 380px at 96% 8%, rgba(88, 76, 180, 0.1), transparent 52%);
	background-attachment: fixed;
}
a, button { touch-action: manipulation; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.max { width: auto; max-width: 1360px; margin: 0 auto; padding: 0 16px; }
.content, .vod-details-container, .card, .card-content, .vod-info { background: transparent; box-shadow: none; border: 0; }
.also:not(:has(a)) { display: none; }

.site-head {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(7, 8, 12, 0.82);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}
.head-bar { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 2px;
	color: #f7f8fc;
}
.logo-mark {
	position: relative;
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: linear-gradient(145deg, #ff4d6d 0%, #c81e4a 100%);
	box-shadow: 0 6px 16px rgba(226, 61, 92, 0.38);
}
.logo-mark::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 8px;
	border-color: transparent transparent transparent #fff;
	transform: translate(-50%, -50%);
}
.header-search { flex: 1; max-width: 560px; margin-left: auto; }
.soso {
	display: flex;
	align-items: center;
	height: 42px;
	border-radius: 12px;
	background: rgba(18, 20, 28, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.soso input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: #fff;
	font-size: 14px;
	padding: 0 16px;
}
.soso input::placeholder { color: #7d8394; }
.soso:focus-within {
	border-color: rgba(226, 61, 92, 0.55);
	box-shadow: 0 0 0 3px rgba(226, 61, 92, 0.16);
}
.searchBtn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 32px;
	margin-right: 5px;
	padding: 0 14px;
	border: 0;
	border-radius: 9px;
	background: linear-gradient(145deg, #ff4d6d, #d1224b);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.searchBtn svg { width: 16px; height: 16px; fill: #fff; }

.cat-nav { padding: 0 0 12px; }
.cat-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cat {
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 12px;
	border-radius: 8px;
	background: #151822;
	color: #d7dbe6;
	font-size: 13px;
	line-height: 1;
	white-space: nowrap;
}
.cat:hover { background: rgba(226, 61, 92, 0.16); color: #ffd0d8; }
.cat.is-on { background: #e23d5c; color: #fff; font-weight: 600; }
#linksNav { max-width: 1360px; margin: 12px auto 0; padding: 0 16px; }
#linksNav .max { max-width: none; width: auto; margin: 0; padding: 0; }
#linksNav .max.flex { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
#linksNav .item a { border-radius: 8px; font-size: 12px; }

.hot-keys:not(:has(a)) { display: none; }
.hot-keys { max-width: 1360px; margin: 0 auto; padding: 14px 16px 6px; background: transparent; border: 0; }
.hot-keys .hot-wrap { display: flex; flex-wrap: nowrap; gap: 8px; margin: 0; padding: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.hot-keys .hot-wrap::-webkit-scrollbar { display: none; }
.hot-keys .hot-chip { flex: 0 0 auto; }
.hot-keys .hot-chip {
	width: auto;
	min-width: 0;
	height: 32px;
	padding: 0 13px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	color: #d5dae6;
	font-size: 13px;
	line-height: 30px;
	box-shadow: none;
}
.hot-keys .hot-chip:nth-child(4n + 2) {
	background: rgba(226, 61, 92, 0.1);
	border-color: rgba(226, 61, 92, 0.28);
	color: #ffb3c0;
}
.hot-keys .hot-chip:nth-child(4n) {
	background: #e23d5c;
	border-color: #e23d5c;
	color: #fff;
}
.hot-keys .hot-chip:hover {
	background: #ff4d6d;
	border-color: #ff4d6d;
	color: #fff;
}

.app-promo:not(:has(a)) { display: none; }
.app-promo { max-width: 1360px; margin: 10px auto 0; padding: 0 16px; }
.app-row {
	display: inline-flex;
	gap: 16px;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	background: #12141b;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 14px;
	padding: 10px 16px 8px;
}
.app-row::-webkit-scrollbar { display: none; }
.app-item {
	flex: 0 0 64px;
	width: 64px;
	text-align: center;
	color: #e8ebf2;
}
.app-icon {
	display: block;
	width: 48px;
	height: 48px;
	margin: 0 auto 6px;
	border-radius: 12px;
	object-fit: cover;
	background: #0b0c12;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.app-item span {
	display: block;
	overflow: hidden;
	font-size: 12px;
	line-height: 1.3;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #c8cedb;
}

.ad-container { max-width: 1360px; margin: 8px auto; padding: 0 16px; text-align: center; }
.ad-item { margin: 6px 0; }
.ad-link { display: block; }
.ad-image { width: 100%; max-width: 1000px; height: auto; min-height: 60px; display: block; margin: 0 auto; object-fit: contain; }
img.ad-image[src^="data:image"], img.ad-image.image-loading, img.ad-image.image-error { width: auto; max-width: 220px; height: 56px; min-height: 0; }

.page-head { padding: 18px 0 6px; }
.page-head h1 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #f4f6fb;
}
.page-head h1::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 16px;
	margin-right: 10px;
	border-radius: 2px;
	background: #e23d5c;
	vertical-align: -2px;
}

.video_box { margin: 6px 0 20px; }
.video_box .title {
	display: flex;
	align-items: center;
	margin: 18px 0 14px;
	padding: 0;
	background: transparent;
	border-radius: 0;
	color: #f4f6fb;
}
.video_box .title h6 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.06em;
}
.video_box .title h6::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 14px;
	margin-right: 10px;
	border-radius: 2px;
	background: #e23d5c;
	vertical-align: -1px;
}
.video_box .title .more {
	display: inline-flex;
	align-items: center;
	margin-left: auto;
	height: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #9aa1b4;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
}
.video_box .title .more:hover { color: #ff6b84; }
@media (min-width: 640px) {
	.video_box .title a.more { display: inline-flex !important; }
}
.video-box { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 12px; margin: 0 0 20px; }
.video-card { display: block; min-width: 0; }
.video-card .img-box,
.video-item .img-box {
	position: relative;
	height: auto;
	aspect-ratio: 3 / 4;
	border-radius: 12px;
	overflow: hidden;
	background: #12141b;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.video-card .img-box img,
.video-item .img-box img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.video-card:hover .img-box img,
.video-item:hover .img-box img { transform: scale(1.05); }
.card-ep {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 9px;
	border-radius: 999px;
	background: #ff6a45;
	box-shadow: 0 4px 14px rgba(255, 90, 50, 0.45);
	color: #2a100a;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
}
.card-cover {
	position: absolute;
	inset: auto 0 0;
	padding: 40px 10px 11px;
	background: linear-gradient(180deg, transparent 0%, rgba(10, 7, 5, 0.55) 45%, rgba(10, 7, 5, 0.92) 100%);
}
.card-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #fff8f5;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.4;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.play-page { padding-top: 16px; }
.plaryer-wrapper {
	position: relative;
	width: 100%;
	max-width: 960px;
	margin: 0 auto 16px;
	aspect-ratio: 16 / 9;
	height: auto;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}
.plaryer-wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.play-head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	max-width: 960px;
	margin: 0 auto 12px;
}
#titleH {
	margin: 0;
	flex: 1;
	font-size: 22px;
	font-weight: 750;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: #f4f6fb;
}
.ep-badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	height: 26px;
	margin-top: 2px;
	padding: 0 10px;
	border-radius: 999px;
	background: #ff6a45;
	color: #2a100a;
	font-size: 12px;
	font-weight: 800;
}
.ep-block, .intro-block {
	max-width: 960px;
	margin: 0 auto 14px;
	padding: 14px 16px;
	border-radius: 12px;
	background: #12141b;
	border: 1px solid rgba(255, 255, 255, 0.05);
}
.intro-block { padding: 12px 16px; }
.ep-block h2, .intro-block h2 {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #9aa1b4;
}
.episode-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.episode-list .ep {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 68px;
	height: 36px;
	padding: 0 12px;
	border-radius: 8px;
	background: #1a1d27;
	color: #e8ebf2;
	font-size: 13px;
}
.episode-list .ep:hover,
.episode-list .ep.is-on {
	background: #e23d5c;
	color: #fff;
	font-weight: 600;
}
.intro-block p {
	margin: 0;
	color: #b8becc;
	font-size: 14px;
	line-height: 1.8;
}

.pagina { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 20px 0 8px; }
.pagina a, .pagina strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border-radius: 8px;
	background: #151822;
	color: #e8ebf2;
	text-shadow: none;
	box-shadow: none;
}
.pagina strong, .pagina a:hover { background: #e23d5c; color: #fff; transform: none; }
.pagina span { color: #7d8394; padding: 0 2px; }

#friendLinks { max-width: 1360px; margin: 12px auto 0; padding: 0 16px; }
.footer-container {
	max-width: 1360px;
	margin: 36px auto 0;
	padding: 26px 16px 36px;
	background: transparent;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-content { text-align: center; }
.footer-text { max-width: 640px; margin: 0 auto; color: #8b90a0; font-size: 13px; line-height: 1.8; }
.footer-desc { margin: 0 0 8px; color: #c8cedb; }
.footer-email { margin: 0 0 8px; color: #ff6b84; font-size: 13px; }
.footer-email a { color: inherit; }
.footer-note { margin: 0 0 6px; color: #6d7384; font-size: 12px; }
.footer-copyright { margin: 0; color: #6d7384; font-size: 12px; }

@media (min-width: 960px) {
	.head-bar { min-height: 72px; }
	.header-search { max-width: 640px; }
}
@media (hover: none) {
	.video-card:hover .img-box img,
	.video-item:hover .img-box img { transform: none; }
}
@media (max-width: 1200px) {
	.video-box { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
	.video-box { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-head { padding-top: env(safe-area-inset-top); }
	.head-bar { min-height: 54px; gap: 10px; }
	.soso { height: 40px; }
	.soso input { font-size: 16px; }
	.cat-nav { padding-bottom: 8px; }
	.cat-row, .hot-keys .hot-wrap, .app-row {
		flex-wrap: nowrap;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.cat-row::-webkit-scrollbar, .hot-keys .hot-wrap::-webkit-scrollbar, .app-row::-webkit-scrollbar { display: none; }
	.cat, .hot-keys .hot-chip { flex: 0 0 auto; }
	.cat { height: 32px; }
	#linksNav .max.flex { flex-wrap: wrap; overflow: visible; }
	#linksNav .item { flex: 0 0 auto; }
	.hot-keys .hot-chip { height: 34px; line-height: 32px; }
}
@media (max-width: 760px) {
	.max, .hot-keys, #linksNav, .ad-container, .app-promo, #friendLinks, .footer-container { padding-left: 10px; padding-right: 10px; }
	.app-item { flex-basis: 64px; width: 64px; }
	.app-icon { width: 48px; height: 48px; border-radius: 12px; }
	.logo { font-size: 16px; letter-spacing: 0.5px; gap: 8px; }
	.logo-mark { width: 18px; height: 18px; border-radius: 6px; }
	.header-search { max-width: none; }
	.searchBtn { padding: 0 12px; }
	.video-box { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
	.card-name { font-size: 12px; }
	.page-head { padding-top: 12px; }
	.page-head h1, .video_box .title h6, #titleH { font-size: 16px; }
	.play-head { align-items: center; }
	.ep-block, .intro-block { padding: 12px; }
	.episode-list .ep { min-width: 58px; height: 40px; }
	.pagina { gap: 8px; margin: 16px 0; }
	.pagina a, .pagina strong { min-width: 36px; height: 40px; padding: 0 10px; font-size: 14px; }
	.footer-container { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
