/* ===== 全局样式 ===== */
* {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}

html {
	width: 100%;
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

body {
	font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
	color: #333333;
	background: #f5f5f5;
	width: 100%;
}

a {
	-webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	user-select: none;
	text-decoration: none;
	color: #ff1493;
}

img {
	font-size: 14px;
	word-break: break-word;
	white-space: normal;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

ul, ol {
	list-style: none;
}

button, input[type="button"], input[type="submit"], input[type="reset"] {
	appearance: none;
	border: none;
	background: none;
	cursor: pointer;
}

/* ===== 懒加载图片 ===== */
.lazy {
	width: 100%;
	height: 100%;
	border-radius: 5px;
	object-fit: fill;
	transition: opacity 0.3s ease;
}

/* ===== Flex 工具类 ===== */
.ye-x  { position: relative; display: flex !important; flex-direction: row !important; }
.ye-x1 { position: relative; display: flex !important; flex-direction: row-reverse !important; }
.ye-y  { position: relative; display: flex !important; flex-direction: column !important; }
.ye-y1 { position: relative; display: flex !important; flex-direction: column-reverse !important; }

.x  { justify-content: center !important; }
.x1 { justify-content: flex-start !important; }
.x2 { justify-content: flex-end !important; }
.x3 { justify-content: space-between !important; }
.x4 { justify-content: space-around !important; }

.y  { align-items: center !important; }
.y1 { align-items: flex-start !important; }
.y2 { align-items: flex-end !important; }

/* ===== 定位工具类 ===== */
.fixed { position: fixed !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.sticky { position: -webkit-sticky !important; position: sticky !important; }

/* ===== 字体 ===== */
@font-face {
	font-family: iconfont;
	src: url(iconfont.woff2) format('woff2'), url(iconfont.woff) format('woff'), url(iconfont.ttf) format('truetype');
	font-display: auto;
}

@font-face {
	font-family: font;
	src: url(font.woff2) format('woff2'), url(font.woff) format('woff'), url(font.ttf) format('truetype');
	font-display: auto;
}

.iconfont {
	font-family: iconfont !important;
	font-size: 20px;
}

.text::placeholder, text {
	font-family: font !important;
	caret-color: transparent;
}

/* ===== 公告栏 ===== */
.announcement-section {
	background: #fff5f9;
	border-radius: 12px;
	padding: 15px;
	margin: 5px 0 10px 0;
	font-size: 15px;
	line-height: 1.6;
	color: #333333;
	box-shadow: 0 2px 10px rgba(255, 105, 180, 0.15);
	border-left: 5px solid #ff1493;
}

.announcement-section .label {
	background: #ff1493;
	color: #ffffff;
	padding: 4px 10px;
	font-size: 13px;
	border-radius: 6px;
	margin-right: 8px;
	display: inline-block;
	font-weight: 600;
}

.announcement-section strong { color: #ff1493; }
.announcement-section a { color: #ff1493; font-weight: 500; }
.announcement-section a:hover { text-decoration: underline; }
.announcement-section .hint { color: #ff69b4; }

/* ===== 友链模块 ===== */
.custom_link {
	display: grid;
	grid-template-columns: repeat(10, auto);
}

.grid-item {
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #ffffff;
	padding: 6px;
	margin: 2px;
	border-radius: 14px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	transition: all 0.2s ease;
	border: 1px solid #ffe8f0;
}

.grid-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(255, 20, 147, 0.2);
	border-color: #ff1493;
}

.grid-item a {
	white-space: nowrap;
	font-size: 14px;
	color: #ff1493;
	text-align: center;
}

/* ===== 标签 ===== */
.tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	padding: 6px 0 0 0;
}

.tag {
	margin: 4px;
	padding: 3px 6px;
	font-size: 16px;
	color: #ff1493;
	background: none;
	border: none;
	border-radius: 4px;
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-weight: 500;
	transition: color 0.3s, transform 0.3s;
}

.tag:hover {
	color: #ff69b4;
	transform: scale(1.1);
}

/* ===== APP 图标区 ===== */
.acc {
	margin: 15px auto;
	background: #ffffff;
	border-radius: 14px;
	text-align: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	border: 1px solid #ffe8f0;
}

.acc ul {
	padding: 0;
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.acc ul li {
	width: 10%;
	margin: 10px 0 0 0;
	text-align: center;
}

.acc ul li img {
	margin: 0 auto;
	width: 40px !important;
	height: 40px;
	display: block;
	border-radius: 12px;
	transition: transform 0.2s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.acc ul li img:hover {
	transform: scale(1.12);
	box-shadow: 0 4px 12px rgba(255, 20, 147, 0.2);
}

.acc ul a {
	font: 11px/28px Tahoma, "Microsoft YaHei", sans-serif;
	color: #333333;
	white-space: nowrap;
}

/* ===== 按钮组（wenzi） ===== */
.wenzi {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	gap: 6px;
	margin: 3px 0;
}

.wenzi a {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #ffffff;
	color: #ff1493 !important;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	text-decoration: none;
	transition: all 0.25s ease;
	font-weight: 500;
	border: 1px solid #ffe8f0;
}

.wenzi a:hover {
	transform: translateY(-2px);
	background: #fff5f9;
	border-color: #ff1493;
	box-shadow: 0 6px 14px rgba(255, 20, 147, 0.15);
	color: #ff69b4 !important;
}

/* ===== 头部 ===== */
.header {
	width: 100%;
	display: flex !important;
	flex-direction: row !important;
	justify-content: center !important;
	flex-wrap: wrap;
}

.header-container {
	width: 100%;
	display: flex !important;
	flex-direction: row !important;
	justify-content: center !important;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
	transition: transform 0.3s;
	background-color: #ffffff;
	box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.08);
	border-bottom: 1px solid #ffe8f0;
}

.header-content {
	width: 100%;
	display: flex !important;
	flex-direction: row !important;
	justify-content: space-between !important;
}

.logo {
	width: 50%;
	padding: 0 5px;
	position: relative;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
}

.logo > a {
	display: block;
	width: 200px;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.search {
	flex: 0.8;
	padding: 0 5px;
	position: relative;
	display: flex !important;
	flex-direction: row !important;
	justify-content: flex-end !important;
	align-items: center !important;
}

.search > form {
	width: 100%;
	height: 30px;
	margin: 0 5px;
	position: relative;
	display: flex;
	flex-direction: row !important;
	align-items: center !important;
	background-color: #f5f5f5;
	border-radius: 5px;
	border: 1px solid #ffe8f0;
}

.search-input {
	width: 100%;
	height: 30px;
	margin: 0 30px 0 10px;
	outline: 0;
	font-size: 13px;
	background-color: #f5f5f5;
	color: #333333;
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	white-space: nowrap;
	border-radius: 5px;
}

.search-input::placeholder {
	color: #cccccc;
}

.search-button {
	position: absolute;
	right: 10px;
	background-color: #f5f5f5;
	outline: 0;
	-webkit-tap-highlight-color: transparent;
}

.search-button > span {
	display: block;
	width: 16px;
	height: 16px;
}

.search-icon {
	width: 16px;
	height: 16px;
	border: 2px solid #ff1493;
	border-radius: 50%;
	position: relative;
}

.search-icon::before {
	content: '';
	position: absolute;
	top: 10px;
	left: 12px;
	height: 3px;
	border: 1px solid #ff1493;
	transform: rotate(-45deg);
	background-color: #ff1493;
}

/* ===== 导航 ===== */
.nav {
	width: 100%;
	padding: 10px;
	margin-top: 95px;
	background-color: #f5f5f5;
	border-bottom: 1px solid #ffe8f0;
}

.nav-list, .nav > ul {
	width: 100%;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row !important;
	align-items: center !important;
}

.nav > ul > li {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0.5%;
	width: 24%;
	height: 45px;
	background-color: #ffffff;
	border-radius: 5px;
	border: 1px solid #ffe8f0;
	transition: all 0.3s ease;
}

.nav > ul > li:hover {
	border-color: #ff1493;
	box-shadow: 0 0 8px rgba(255, 20, 147, 0.15);
}

.nav > ul > li > a {
	font-size: 14px;
	font-weight: bold;
	color: #ff1493;
}

/* ===== 主容器 ===== */
.main {
	width: 100%;
	background-color: #f5f5f5;
	margin-top: 75px;
}

.section {
	width: 100% !important;
	position: relative;
	display: flex !important;
	flex-direction: row !important;
	justify-content: center !important;
	flex-wrap: wrap !important;
	background-color: #ffffff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	margin-top: 15px;
	padding: 0 7.5px 15px 7.5px;
	border: 1px solid #ffe8f0;
}

.section-header {
	width: 100%;
	position: relative;
	display: flex !important;
	flex-direction: row !important;
	justify-content: space-between !important;
	align-items: center !important;
}

.section-title {
	padding: 20px 20px 15px 15px;
	width: 100%;
	position: relative;
	display: flex !important;
	flex-direction: row !important;
	justify-content: space-between !important;
	align-items: center !important;
	font-weight: bold;
	font-size: 20px;
	color: #ff1493;
	border-bottom: 2px solid #ffe8f0;
}

.more-link {
	font-size: 14px;
	padding: 20px 10px 10px 0;
	width: 200px;
	text-align: right;
	color: #ff1493;
	transition: color 0.3s;
}

.more-link:hover {
	color: #ff69b4;
}

.more-icon:before {
	content: "\003E";
}

.title {
	width: 100%;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: center !important;
	background-color: #ffffff;
	font-size: 15px;
	padding: 14px 15px;
	margin-top: 15px;
	color: #333333;
	border-bottom: 1px solid #ffe8f0;
}

/* ===== 视频列表 ===== */
.video-list {
	width: 100%;
	position: relative;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
}

.video-list > li {
	position: relative;
	margin-bottom: 50px;
	width: 25%;
	padding-top: 20%;
}

.video-list > li > a {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background-color: #f5f5f5;
	background-size: cover;
	background-position: center top;
	border-radius: 5px;
	margin: 7.5px;
	transition: transform 0.3s;
	border: 1px solid #ffe8f0;
}

.video-list > li > a:hover {
	transform: scale(1.02);
	border-color: #ff1493;
}

.video-img-lazy {
	border-radius: 5px;
}

.video-detail {
	position: absolute;
	width: 100%;
}

.video-title {
	width: 100%;
	text-align: center;
	font-size: 13px;
	font-weight: normal;
	line-height: 20px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
	padding: 4px 10px;
	color: #333333;
}

.view-count {
	position: absolute;
	width: 100%;
	height: 100px;
	text-align: right;
	line-height: 165px;
	right: 0;
	bottom: 0;
	color: #ffffff;
	font-size: 12px;
	background-repeat: no-repeat;
	background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
	padding-right: 10px;
	border-radius: 5px;
}

/* ===== 播放器 ===== */
.media-player {
	position: relative;
	width: 100%;
	padding-top: 56.2%;
	background-color: #000000;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid #ffe8f0;
}

.media-player > iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	border: none;
}

/* ===== 媒体容器 ===== */
.media-container {
	width: 100%;
	position: relative;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	background-color: #ffffff;
	padding: 15px;
	border: 1px solid #ffe8f0;
	border-radius: 5px;
}

.media-thumb {
	position: relative;
	width: 10%;
	padding-top: 10%;
}

.media-thumb > a {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transition: transform 0.3s;
}

.media-thumb > a:hover {
	transform: scale(1.05);
}

.media-thumb > a > img {
	width: 100%;
	height: 100%;
	border-radius: 5px;
	border: 1px solid #ffe8f0;
}

.media-info {
	width: 70%;
	position: relative;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-around !important;
	flex-wrap: wrap !important;
	background-color: #ffffff;
	font-size: 14px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
	padding: 0 15px;
	color: #333333;
}

.media-info > p {
	width: 100%;
	position: relative;
	display: flex !important;
	flex-direction: row !important;
}

.media-info > p > span:nth-of-type(1) {
	white-space: nowrap;
	color: #ff1493;
}

.media-info > p > span:nth-of-type(2) {
	white-space: normal;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
	color: #999999;
}

.media-actions {
	width: 20%;
	position: relative;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	flex-wrap: wrap;
	justify-content: space-between !important;
}

.media-actions > a {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	height: 35px;
	font-size: 15px;
	background-color: #ffffff;
	border-radius: 5px;
	color: #ff1493;
	transition: all 0.3s;
	border: 1px solid #ffe8f0;
}

.media-actions > a:hover {
	border-color: #ff1493;
	color: #ff69b4;
	box-shadow: 0 0 8px rgba(255, 20, 147, 0.15);
}

/* ===== 集数 ===== */
.media-episode {
	width: 100%;
	padding: 20px 10px;
	border-top: 1px solid #ffe8f0;
	background-color: #ffffff;
}

.media-episode > div {
	color: #ff1493;
	margin: 0.5%;
	width: 24%;
	height: 30px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	margin-top: -5px;
	white-space: nowrap;
	display: inline-block;
}

.media-episode > ul {
	width: 100%;
	position: relative;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	flex-wrap: wrap !important;
}

.media-episode > ul > li {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0.5%;
	width: 24%;
	height: 35px;
	font-size: 15px;
	background-color: #ffffff;
	border-radius: 5px;
	border: 1px solid #ffe8f0;
	transition: all 0.3s;
}

.media-episode > ul > li:hover {
	border-color: #ff1493;
	box-shadow: 0 0 8px rgba(255, 20, 147, 0.15);
}

.media-episode > ul > li > a {
	color: #ff1493;
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	white-space: nowrap;
	padding: 0 10px;
}

/* ===== 类型栏容器 ===== */
.type-container {
	margin-top: 1px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #ffe8f0;
}

.type-header {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: linear-gradient(135deg, #ffffff, #fff5f9);
	border-bottom: 1px solid #ffe8f0;
}

/* ===== 滚动列表 ===== */
.scroll-container {
	overflow: hidden;
	white-space: nowrap;
	background-color: #ffffff;
	border: 1px solid #ffe8f0;
}

.scroll-list {
	display: flex;
	animation: scrollText 20s infinite linear;
	font-size: 15px;
	color: #999999;
	padding: 15px 0;
}

.scroll-list > li {
	padding: 0 10px;
}

@keyframes scrollText {
	0% { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}

/* ===== 页脚 ===== */
.footer {
	text-align: center;
	padding: 20px 10px;
	background-color: #f5f5f5;
	border-top: 1px solid #ffe8f0;
	color: #999999;
}

.copyright, .warn {
	font-size: 13px;
	padding-bottom: 20px;
}

/* ===== 分页 ===== */
.page {
	padding: 10px 0;
	text-align: center;
}

.page li {
	display: inline-block;
	margin: 2px;
}

.page li a {
	padding: 10px 15px;
	color: #333333;
	transition: all 0.3s;
}

.page_bg {
	background-color: #ff1493 !important;
	color: #ffffff !important;
	border-radius: 5px;
	font-weight: 600;
}

.page-default {
	display: inline-block;
	padding: 8px 30px;
	font-size: 12px;
	border-radius: 5px;
	background-color: #ffffff;
	color: #333333;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
	border: 1px solid #ffe8f0;
	transition: all 0.3s;
}

.page-default:hover {
	border-color: #ff1493;
	color: #ff1493;
}

.page-warm {
	display: inline-block;
	padding: 8px 30px;
	font-size: 12px;
	border-radius: 5px;
	background: linear-gradient(to right, #ff1493, #ff69b4);
	color: #ffffff;
	font-weight: 600;
	box-shadow: 0 5px 10px rgba(255, 20, 147, 0.2);
	border: none;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
	body { width: 100%; }
	.header-container { height: 60px; }
	.header-content { width: 100%; }
	.logo { height: 60px; }
	.logo > a { width: 150px; }
	.search { height: 60px; flex: 1; font-size: 3vw; }
	.search > form { position: absolute; display: none; }
	.search > span { display: flex; }
	.nav { margin-top: 75px; }
	.main { margin-top: 65px; }
	.title { font-size: 14px; }
	.video-title { font-size: 12px; }
	.video-list > li { width: 50% !important; padding-top: 40% !important; }
	.media-thumb { width: 30%; padding-top: 30%; }
	.media-info { width: 70%; font-size: 12px; padding: 0 0 0 10px; }
	.media-actions { width: 100%; padding-top: 15px; }
	.media-actions > a { width: 48.5%; }
	.media-episode > div { font-size: 14px; }
	.media-episode > ul > li > a { font-size: 12px; }
	.scroll-list { animation: scrollText 10s infinite linear; }
	.page-visible { display: inline-block !important; }
	.page-hidden { display: none !important; }
	.custom_link { grid-template-columns: repeat(5, auto); }
	.grid-item { font-size: 11px; padding: 3px; }
	.grid-item a { font-size: 11px; }
	.tag { font-size: 14px; padding: 3px 6px; }
	.acc ul li { width: 20%; }
	.wenzi a { width: calc(25% - 6px); height: 34px; font-size: 13px; border-radius: 10px; }
	.announcement-section { font-size: 13px; padding: 12px; }
}

@media (min-width: 1200px) {
	body { width: 1200px; }
	.header-container { height: 70px; }
	.header-content { width: 1200px; }
	.logo { height: 75px; }
	.logo > a { width: 200px; }
	.search { height: 70px; flex: 0.8; font-size: 16px; }
	.search > form { position: relative; display: flex; }
	.search > span { display: none; }
	.nav { margin-top: 85px; }
	.title { font-size: 18px; }
	.video-title { font-size: 13px; }
	.video-list > li { width: 25%; padding-top: 20%; }
	.media-episode > div { font-size: 18px; }
	.media-episode > ul > li > a { font-size: 14px; }
	.scroll-list { animation: scrollText 20s infinite linear; }
	.page-hidden { display: inline-block !important; }
	.page-visible { display: none !important; }
	.custom_link { grid-template-columns: repeat(10, auto); }
	.wenzi a { width: calc(12.5% - 6px); height: 46px; font-size: 14px; border-radius: 12px; }
}
