@charset "utf-8";

.theme {
	margin-top: 13px;
}

.theme .theme_wrap_pd {
	width: 100%;
	padding: 0 0;
}

.theme .theme_group {
	width: 100%;
	position: relative;
	margin-bottom: 15px;
}

.theme .theme_subject {
	padding: 2px 0px 0px 5px;
}

.theme .theme_subject .theme_thumb {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	float: left;
	margin-right: 10px;
}

.theme .theme_subject .theme_info {
}

.theme .theme_subject .theme_info p.subject_title {
	font-size: 16px;
	line-height: 26px;
	color: #333;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.theme .theme_subject .theme_info p.subject_txt {
	font-size: 11px;
	line-height: 16px;
	color: #666;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.theme .theme_visual {
	max-height: 330px;
}

.theme .theme_info {
	width: 100%;
	height: 61px;
	background: #fff;
	margin: auto;
}

.theme .theme_info p.theme_subject {
	width: 76%;
	width: calc(100% - 65px);
	font-weight: bold;
	font-size: 16px;
	color: #333;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	height: 24px;
	line-height: 24px;
}

.theme .theme_info p.theme_txt {
	font-size: 12px;
	color: #fd4243;
}

.theme .theme_info a.all_view {
	display: block;
	position: absolute;
	top: 15px;
	right: 30px;
	width: 55px;
	height: 22px;
	line-height: 22px;
	border-radius: 15px;
	border: 1px solid #333;
	text-align: center;
	font-size: 10px;
}

.theme .theme_info p.today_btn a {
	font-weight: bold;
}

footer {
	padding-bottom: 50px;
}

.swiper-pagination-bullet {
	width: 7px;
	height: 7px;
	display: inline-block;
	border-radius: 100%;
	background: #fff;
	opacity: 1;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
	opacity: 1;
	background: #fd4243;
}

.thsHistoryDel {
	width: 18px!important;
	height: 18px!important;
	border-radius: 50%;
	line-height: 15px;
	font-size: 12px;
	display: block;
	position: absolute;
	margin-left:5px;
	margin-top: 5px;
	z-index: 9999;
	background: rgba(0,0,0,0.7);
	color: #fff;
	text-align: center;
}

.theme .theme_group .list_slider {
	width: 100%;
	white-space: nowrap;
	overflow: auto;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	position: absolute;
	top: 63px;
	left: 0;
}

.theme .theme_group .list_slider ul li {
	display: inline-block;
	margin-left: 5px;
	position: relative;
}

.theme .theme_group .list_slider ul li:first-child {
	margin-left: 0px;
}

.theme .theme_group .list_slider ul li:last-child {
	margin-right: 0px;
}

.theme .theme_group .list_slider ul li .list_thumb {
	width: 120px;
	height: 120px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-color: #fff;
	position: relative;
}

.theme .theme_group .list_slider ul li .thumb_title {
	width: 120px;
	height: 30px;
	color: #fff;
	line-height: 30px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 12px;
	font-weight: bold;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 0 5px;
}

.theme .theme_group .list_slider ul li .list_thumb:after {
	width: 100%;
	height: 50%;
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
}

.theme .theme_group .list_slider ul li .list_view_btn {
	width: 100%;
	height: 25px;
	line-height: 25px;
	margin-top: 5px;
}

.theme .theme_group .list_slider ul li .list_view_btn a {
	display: block;
	width: 58px;
	height: 25px;
	line-height: 26px;
	border-radius: 3px;
	color: #fff;
	text-align: center;
	font-size: 11px;
}

.theme .theme_group .list_slider ul li .list_view_btn a.vip_view {
	float: left;
	background: #fd4234;
}

.theme .theme_group .list_slider ul li .list_view_btn a.webtoon_view {
	float: right;
	background: #333;
}

.theme .theme_group .list_slider ul li .list_view_btn a.webtoon_view.fullwidth {
	width: 120px;
}

.thsIosBg {
	display: none;
	width: 228px;
	padding: 12px;
	background: rgba(0,0,0,0.5);
	position: fixed;
	bottom: 18px;
	left: 50%;
	margin-left: -114px;
	color: #fff;
	z-index: 10100;
	border-radius: 8px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.thsIosCloseBtn {
	display: block;
	width: 18px;
	height: 18px;
	position: absolute;
	margin-left: 100px;
	top: -18px;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.thsIosLeft {
	width: 50px;
	float: left;
}

.thsIosLeft img {
	width: 50px;
	display: block;
	margin: 0 auto;
}

.thsIosRight {
	width: 120px;
	float: right;
}
.thsIosRight-text{
	
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.jiao {
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 13px solid rgba(0,0,0,0.5);
	position: absolute;
	bottom: -13px;
	margin-left: 100px;
}

/* 首页 打开弹窗 css */

.thsBoxshadow {
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4); /* 改为rgba格式支持模糊 */
	backdrop-filter: blur(8px); /* 背景模糊效果 */
	-webkit-backdrop-filter: blur(8px); /* Safari兼容 */
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9991;
	animation: fadeIn 0.3s ease-out; /* 淡入动画 */
}

.thsTanCon {
	width: 300px;
	height: auto; /* 改为auto让高度自适应 */
	min-height: 390px; /* 调整最小高度匹配新内容 */
	position: fixed;
	top: 35%; /* 调整为40%位置 */
	left: 50%;
	transform: translate(-50%, -50%); /* 完美居中 */
	z-index: 9992;
	background: transparent; /* 透明背景，让PNG透明部分真正透明 */
	overflow: visible; /* 改为visible以支持阴影效果 */
	border-radius: 8px;
	/* 添加美化效果 */
	filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3));
	/* 弹跳式动画 */
	animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.thsTanCon img {
	width: 100%;
	height: 350px; /* 增加高度让图片更大 */
	border-radius: 8px 8px 0 0; /* 图片上方圆角 */
	object-fit: contain; /* 完整显示图片，不裁剪 */
	object-position: center; /* 图片居中显示 */
}

.thsTanCon a {
	width: 100%;
	height: 350px; /* 匹配图片高度 */
	display: block;
}

.thsButtons {
	width: 100%;
	height: 44px; /* 稍微增加高度避免变形 */
	background: transparent; /* 改为透明，让按钮独立设计 */
	color: #fff;
	border-radius: 0 0 8px 8px; /* 保持容器下方圆角 */
	padding: 4px; /* 适当增加内边距 */
	margin-top: -2px; /* 向上移动减少与图片的距离 */
	display: flex; /* 使用flex布局 */
	gap: 2px; /* 按钮间距 */
}

.thsButtons a {
	display: flex;
	flex: 1; /* 平分宽度 */
	height: 36px; /* 固定高度避免变形 */
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 16px;
	color: #fff;
	transition: all 0.3s ease; /* 添加过渡效果 */
	text-decoration: none;
	border-radius: 6px; /* 每个按钮都有圆角 */
	background: linear-gradient(135deg, #dc1e25, #ff4757); /* 默认渐变背景 */
	box-shadow: 0 2px 8px rgba(220, 30, 37, 0.3); /* 阴影效果 */
	min-height: 36px; /* 最小高度确保不变形 */
}

.thsButtons a:hover {
	transform: translateY(-2px) scale(1.02); /* 增强上浮和缩放效果 */
	box-shadow: 0 4px 16px rgba(220, 30, 37, 0.5); /* 增强阴影 */
	filter: brightness(1.1); /* 增加亮度 */
}

#thsClosed {
	background: linear-gradient(135deg, #333, #555); /* 渐变背景 */
	box-shadow: 0 2px 8px rgba(51, 51, 51, 0.4); /* 灰色阴影 */
}

#thsClosed:hover {
	background: linear-gradient(135deg, #555, #777); /* 悬停时更亮 */
	box-shadow: 0 4px 16px rgba(85, 85, 85, 0.6); /* 增强灰色阴影 */
}

/* 弹窗动画效果 */
@keyframes fadeIn {
	from { 
		opacity: 0; 
	}
	to { 
		opacity: 1; 
	}
}

@keyframes bounceIn {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.3);
	}
	50% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.05);
	}
	70% {
		transform: translate(-50%, -50%) scale(0.9);
	}
	100% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

/* 今日更新封面尺寸与小编精选保持一致 */
.update-cover-unify {
	height: auto !important;
	padding: 0 5px;
}

.update-cover-unify .swiper-wrapper {
	align-items: stretch;
}

.update-cover-unify .update-card {
	height: auto !important;
	width: auto;
	background: #f6f6f6;
	border-radius: 8%;
	overflow: hidden;
	position: relative;
}

.update-cover-unify .update-card__cover {
	position: relative;
	width: 100%;
	padding-top: 140%;
	border-radius: 8%;
	overflow: hidden;
	display: flex;
	align-items: stretch;
}

.update-cover-unify .update-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.update-cover-unify .swiper-lazy-preloader {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

/* 响应式设计 */
@media (max-width: 480px) {
	.thsTanCon {
		width: 90%;
		max-width: 280px;
		min-height: 310px; /* 调整移动端最小高度 */
	}
	
	.thsTanCon img,
	.thsTanCon a {
		height: 270px; /* 移动端图片高度 */
	}
	
	.thsButtons a {
		font-size: 14px;
		min-height: 32px; /* 移动端按钮最小高度 */
		height: 32px;
	}
}