/* 人人漫画：PC / H5 对齐 + 手机底栏，贴合原深色红点风格 */

.header__logo h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.product__item__pic,
.product__sidebar__view__item {
	height: auto !important;
	aspect-ratio: 3 / 4;
	background-color: #1d1e39;
	cursor: pointer;
}

.product__item__text {
	padding-top: 10px;
}

.product__item__text h6 a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.35;
}

.product__sidebar__view__item p {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	padding: 28px 8px 8px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

.product__sidebar__view__item p a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	width: 100%;
	box-sizing: border-box;
	line-height: 1.35;
	background: none;
	padding: 0;
	color: #fff;
	border-radius: 0;
}

.anime__details__pic {
	height: auto !important;
	aspect-ratio: 3 / 4;
	max-height: 520px;
	background-color: #1d1e39;
}

.anime__details__content > .row + .row {
	margin-top: 28px;
}

.anime__details__btn.mh-collect-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
	margin-top: 8px;
}

.anime__details__btn.mh-collect-row > a {
	flex: 0 1 auto;
	width: auto;
	min-width: 0;
}

.anime__details__btn .rr-collect-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 22px;
	border-radius: 4px;
	border: 2px solid #e53637;
	background: transparent;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	box-sizing: border-box;
}

.anime__details__btn .rr-collect-btn:hover,
.anime__details__btn .rr-collect-btn:active {
	color: #fff;
	background: #e53637;
}

.anime__details__btn .rr-collect-btn.is-collected {
	background: #e53637;
	color: #fff;
}

.chapter_list {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	justify-content: stretch;
}

.anime__details__episodes a {
	width: auto !important;
	margin: 0 !important;
	display: block;
}

.weui-footer {
	background: transparent;
	color: #8a8aa3;
	padding: 16px 12px 24px;
}

.weui-footer a,
.weui-footer .weui-footer__link {
	color: #b7b7b7 !important;
}

.weui-panel,
.weui-panel__hd,
.weui-panel__bd,
.weui-tab,
.weui-navbar,
.page-bd {
	background: #1d1e39 !important;
	color: #fff;
}

.weui-panel__hd,
.weui-media-box__title,
.weui-grid__label,
.weui-navbar__item {
	color: #fff !important;
}

.weui-media-box__desc,
.weui-footer__text {
	color: #b7b7b7 !important;
}

.weui-media-box {
	background: #1d1e39;
}

.weui-navbar__item.weui-bar__item--on {
	color: #e53637 !important;
	background: #070720 !important;
}

.ptm-bar,
.ptm-bar .shu1 {
	background: #070720;
	color: #fff;
}

.rr-tabbar {
	display: none;
}

@media (max-width: 767px) {
	.header {
		position: sticky;
		top: 0;
		z-index: 1000;
	}

	.header .row {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		margin: 0;
	}

	.header .col-lg-2,
	.header .col-lg-8 {
		width: auto;
		max-width: none;
		flex: 0 0 auto;
		padding-left: 8px;
		padding-right: 8px;
	}

	.header .col-lg-8 {
		display: none;
	}

	.header .col-lg-2:first-child {
		flex: 1 1 auto;
	}

	.header__logo {
		padding: 12px 0;
	}

	.header__right {
		position: static !important;
		right: auto !important;
		top: auto !important;
		padding: 8px 0 !important;
		text-align: right;
	}

	.header__right a {
		margin-right: 0;
	}

	.header__right .rr-search {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		color: #fff;
		font-size: 18px;
	}

	.slicknav_menu,
	.slicknav_btn,
	.slicknav_nav {
		display: none !important;
	}

	.product {
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.anime-details {
		padding-top: 24px;
	}

	.anime__details__pic {
		max-height: none;
		margin-bottom: 16px;
	}

	.anime__details__rating {
		text-align: left;
		position: relative;
		margin-bottom: 12px;
	}

	.anime__details__btn.mh-collect-row > a {
		flex: 1 1 0;
	}

	.chapter_list {
		grid-template-columns: 1fr;
	}

	.footer {
		padding-top: 36px;
		padding-bottom: 20px;
	}

	.weui-footer {
		margin-bottom: 8px !important;
		padding-bottom: 12px;
	}

	body.rr-has-tabbar {
		padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
	}

	.rr-tabbar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 10050;
		align-items: stretch;
		justify-content: space-around;
		height: 54px;
		padding-bottom: env(safe-area-inset-bottom, 0);
		background: #070720;
		border-top: 1px solid #1a1a40;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
		box-sizing: content-box;
	}

	.rr-tabbar__item {
		flex: 1 1 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		color: #8a8aa3;
		text-decoration: none;
		font-size: 11px;
		line-height: 1.2;
	}

	.rr-tabbar__item svg {
		width: 22px;
		height: 22px;
		fill: currentColor;
	}

	.rr-tabbar__item.is-active,
	.rr-tabbar__item:active {
		color: #e53637;
	}
}

@media (min-width: 768px) {
	.rr-tabbar {
		display: none !important;
	}

	body.rr-has-tabbar {
		padding-bottom: 0;
	}

	.chapter_list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
