/* 占位符 start */
* [v-if] {
    display: none !important;
}
* [v-else-if] {
    display: none !important;
}
* [v-show] {
    display: none !important;
}
/* 占位符 end */

.defaultimg,
div:has(> img:not([src])),
div:has(> img.loading),
a:has(> img:not([src])),
a:has(> img.loading) {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

img.banner:not([src]),
img.banner.loading {
	content: url("/usr/plugins/Ad/banner.png");
	margin: 0 auto;
	-o-object-fit: contain;
	object-fit: contain;
	background-size: contain;
	background-position: center;
}

img.card:not([src]),
img.card.loading {
	content: url("/usr/plugins/Ad/img-placeholder.png");
	margin: 0 auto;
	-o-object-fit: contain;
	object-fit: contain;
	background-position: center;
}

img.popup:not([src]),
img.popup.loading {
	content: url("/usr/plugins/Ad/img-placeholder.png");
	margin: 0 auto;
	-o-object-fit: contain;
	object-fit: contain;
	background-size: contain;
	background-position: center;
}

img[src]:not(.loading) {
	content: unset;
	-o-object-fit: cover;
	object-fit: cover;
}

.card img:not([src]),
.card img.loading {
    content: url("/static/pc/img/placeholder.d8718ac.png");
    margin: 0 auto;
    -o-object-fit: cover;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-color: #141414;
} 

/* 全局弹窗 start */
#popup-window {
	margin: 0 auto;

	width: 100%;
	max-width: 100%;
	min-width: 100%;

	height: 100%;
	/* max-width: var(--default-screen-max-width); */
	/* min-width: var(--default-screen-min-width); */

	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: var(--van-tabbar-z-index);
	background: transparent;
	/* pointer-events: none; */
}

#popup-window .van-overlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: var(--van-overlay-z-index);
	width: 100%;
	height: 100%;
	background: #0000008f;
	/* pointer-events: none; */
}

#van-popup-window {
	z-index: 2013;
	width: 100%;
	height: 100%;
	top: 50%;

	overflow: hidden;
	border: 0;
	background-color: transparent;
	background: transparent;

	max-width: 100vw;
	/* box-shadow: 0.6rem 0.6rem 0.6rem #000000; */
}

#van-popup-window .content {
	width: 100%;
	height: 100%;
	display: flex;
}

#van-popup-window .content>iframe {
	width: 100%;
	height: 100%;
	display: flex;
	border: 0;
}

/* 全局弹窗 end */


/* 全局vant弹窗 start */
.van-dialog {
	padding: 3.75rem 1.875rem 2.5rem;
	width: 40vw;
	max-width: 450px;
    background-color: #151515;
    width: 50%;
}

.van-hairline--left:after {
    border-left: none;
}

.van-dialog__header {
	color: #fff;
	font-size: 1.625rem;
	margin-bottom: 1.25rem;
	padding: 0;
	line-height: normal;
	font-weight: 600;
}

.van-dialog__message--has-title {
	padding: 0;
	color: #959595;
	font-size: 1.25rem;
	margin-bottom: 2.5rem;
	overflow-y: hidden;
}

.van-dialog__footer {
	column-gap: 1.25rem;
    padding-top: 2.5rem;
}

.van-dialog__cancel {
	background-color: transparent;
	color: #ff9000;
	border: 2px solid;
}

.van-dialog__confirm {
	background-color: #ff9000;
	color: #000000;
}

.van-dialog__confirm,
.van-dialog__cancel {
	border-radius: 0.5rem;
	font-size: 1.125rem;
}

.van-popup__close-icon--top-right {
	width: 1.2rem;
	height: 1.2rem;
	color: #6a6a6a;
}

.van-image-preview {
    position: fixed;
    top: 50%;
    left: 0;
    width: 50%;
    height: 80%;
    max-width: none;
    background-color: transparent;
    transform: none;
    transform: translateY(-50%);
}

/* 全局vant弹窗 end */

/* Editormd 编辑器初始化 start */
.editormd-preview img {
	max-width: 100%;
	width: 100%;
}

.editormd-preview p {
	max-width: 100%;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	line-height: 1.5;
}

.editormd-preview {
	color: #ddd;
}

.editormd-preview a {
	color: #ff9000;
	font-size: .9rem;
}

.editormd-preview p a {
	border-radius: 5px;
	font-size: 1.0rem;
	font-weight: 400;
	overflow: hidden;
	padding: 4px;
	text-align: left;
	-webkit-text-decoration: none;
	text-decoration: none;
	vertical-align: top;
	margin-right: 0.3rem;
}

.editormd-preview hr {
	overflow: hidden;
	margin: 1rem 0;
	padding: 0;
	height: 0.125rem;
	border: none;
	background: #2c2a2a repeating-linear-gradient(-45deg, #bcbcbc, #bcbcbc 0.25rem, transparent 0.25rem, transparent 0.5rem);
}

.editormd-preview ul {
	margin: 0 1.2rem;
}

.editormd-preview blockquote {
	background: rgb(21, 21, 21);
	padding: .5rem;
	border-radius: 0.5rem;
	margin-bottom: 1rem;
	border: 1px solid rgb(51, 51, 51);
} 

.editormd-preview p {
	margin-bottom: 0.4rem;
}

.editormd-preview h2 {
	font-size: inherit;
}
/* Editormd 编辑器初始化 end */

/* 详情内置样式迁移 start */
.video-item img {
	width: 100%;
	border-radius: 0.4rem;
	vertical-align: middle;
	min-height: 6.5rem;
	max-height: 7rem;
}

.dplayer {
	margin-bottom: 0.4rem;
}

.swiper {
	width: 100%;
	overflow: hidden;
}

.swiper-wrapper {
	display: flex;
	flex-direction: row;
	align-items: center;
	height: 40vh;
}

.van-overlay .bg-layout {
	position: relative;
    width: 90%;
    height: 100%;
    display: flex;
    max-width: 420px;
    top: initial;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.van-overlay .bg-layout .closebox {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 10%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.swiper-slide img {
	width: 100%;
	display: block;
	object-fit: cover;
	height: 35vh;
}

.swiper-slide .blur {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	top: 0;
	filter: blur(1.5rem);
	z-index: -1;
	transform: scaleY(2);
}

.swiper-pagination {
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
}

.swiper-pagination > p {
	font-size: 1rem;
	width: 6rem;
	height: 2rem;
	line-height: 2rem;
	border: 1px solid #ff9000;
	color: #ff9000;
	border-radius: 20px;
	justify-content: center;
}

.plates a {
	display: inline-block;
	margin-bottom: 0.9375rem;
	padding: 0;
	color: hsla(0, 0%, 100%, .64);
	position: relative;
	white-space: normal;
	font-size: .8rem;
	border-bottom: 1px dashed #9f9898;
}

.relation {
	padding: 5px 1rem;
}

.relation .box {
	border: 1px solid rgb(68, 68, 68);
	padding: .8rem;
	border-radius: .5rem;
	font-size: .9rem;
}

.relation .rel-title {
	display: flex;
	justify-content: space-between;
	margin-bottom: .8rem;
}

.relation .rel-title h2 {
	font-size: inherit;
}

.relation .rel-title span:last-child {
	cursor: pointer;
}

.relation .rel-article {
	display: flex;
	flex-direction: row;
	gap: .625rem;
}

.relation .rel-title a.more::after {
	content: "›";
	color: #ff9900;
	font-size: 1.25rem;
	margin-left: 0.3rem;
}

.relation .rel-article .article-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 0.9rem;
	text-align: left;
}

.relation .rel-article a {
	display: flex;
	color: #ff9000;
	margin-bottom: .3rem;
	flex-direction: column;
	width: calc(50% - .625rem);
	align-items: flex-start;
}

.relation .rel-article img {
	width: 100%;
	max-height: 8rem;
	margin-bottom: .3rem;
	height: 8rem;
}

.relation .rel-article a:last-child {
	margin-bottom: 0;
}

.font-line {
	display: flex;
	align-items: center;
	text-align: center;
	color: #6d6d6d;
	margin-top: 1rem;
	font-size: .9rem;
}

.font-line::before,
.font-line::after {
	content: "";
	flex: 1;
	border-bottom: 1px solid #333;
}
.load-more {
	color: #ff9900
}
.pin-top {
	vertical-align: middle;
	max-width: 34px;
	margin-right: 5px;
}
.comment-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	margin-right: 5px;
}
.official {
	width: 34px;
	vertical-align: middle;
	margin-left: 5px;
}
.comment-user-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.comment-user-info .comment-author {
	display: flex;
	align-items: center;
}
.show-more-btn {
	display: inline-block;
}
/* 详情内置样式迁移. 解决样式失效 end */

/* 浮动广告 start */
.slider-banners .swiper-wrapper {
	height: initial;
}
/* 浮动广告 end */

/*  */
.van-overlay {
	z-index: 101;
}
.van-overlay .box2 .swiper .swiper-slide {
	padding: 2rem 0;
}
.van-overlay .box2 .swiper .swiper-slide img {
	margin-top: 0rem;
}
/*  */

@media (max-width: 576px) {
	/* 全局vant弹窗 start */
	.van-dialog {
		width: 90%;
		border-radius: 0.375rem;
	}

	.van-dialog__header {
		font-size: 1.5rem;
		margin-bottom: 0.625rem;
	}

	.van-dialog__message--has-title {
		font-size: 1rem;
	}

	.van-dialog__footer {
		column-gap: 0.625rem;
	}

	.van-dialog__cancel {
		border: 0.0625rem solid;
	}

	.van-dialog__confirm,
	.van-dialog__cancel {
		border-radius: 0.375rem;
		font-size: 1.125rem;
		line-height: 3.125rem;
	}

	.van-popup__close-icon--top-right {
		width: 1rem;
		height: 1rem;
	}
	/* 全局vant弹窗 end */
}