ul.sub-menu {
    border: 1px solid;
    border-color: rgba(54, 100, 152, .15);
}
.relative {
    position: relative;
}

html:not(.tab-outline) *:focus {
    outline: none;
}

.sd-search-form {
   /* margin: 30px 0 30px;*/
    display: flex;
    align-items: center;
    justify-content: center;
	/*margin-bottom: 100px;*/
}

.sd-search-form .input-group {
    display: inline-block;
    width: 65%;
    position: relative;
}

.sd-search-form .input-group input {
	width: 100%;
	box-sizing: border-box;
	border-radius: 5px 0 0 5px;
	height: 55px;
	padding: 17px 20px;
	font-size: 16px;
	background: transparent;
	border-color: transparent;
	box-shadow: min(-1px, -.0625rem) min(-1px, -.0625rem) hsla(0, 0%, 100%, .6),
		max(1px, .0625rem) max(1px, .0625rem) rgba(54, 100, 152, .2),
		inset .1875rem .1875rem .1875rem rgba(54, 100, 152, .2),
		inset -.125rem -.125rem .1875rem hsla(0, 0%, 100%, .6);

}
.btn-red {
	background: linear-gradient(90deg, #0488ce, #4bbffc);
	border-radius: 0 5px 5px 0;
	padding: 18px 40px;
	display: inline-block;
	border: none;
	color: #fdfdfe;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	height: 55px;
	transition: all .3s;

}

.btn-red:hover {
    opacity: .8;
}

@media only screen and (max-width:640px) {
    .sd-search-form {
        margin: 10px 0 10px;
        display: block;
		/*margin-bottom: 100px;*/
    }
}

@media only screen and (max-width:640px) {
    .sd-search-form .input-group {
        width: 100%;
    }

    .sd-search-form .input-group input {
        border-radius: 5px;
    }

    .btn-red {
        border-radius: 5px;
    }

    .sd-search-form .btn-red {
        width: 100%;
        margin: 10px 0 0;
    }
}

.lt-icon {
    display: table-cell;
    height: 30px;
    width: 30px;
}

.is-paste {
    position: absolute;
    right: 5px;
    border-left: none;
    width: auto;
    cursor: pointer;
    top: 5px;
    padding: 10px;
    justify-content: center;
    border-radius: 5px;
    background: #fff;
}

.is-paste:hover,
.is-paste:focus,
.is-paste:active {
    background: #efefef;
}

.img-paste {
    background: url(https://file.wzjun.com/img/paste.svg) no-repeat;
}
.img-trash {
    background: url(https://file.wzjun.com/img/delete.svg) no-repeat;
}	

/*下载管理*/
.download-manager {
	position: fixed;
	right: 2em;
	z-index: 999;
	font-family: Arial, sans-serif;
	bottom: 15em;
}

.floating-button {
	width: 50px;
	height: 50px;
	background: #2196F3;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease;
}
.down-manage {
    height: 30px;
    width: 30px;
    background: url(https://file.wzjun.com/icon/down-manage.svg) no-repeat center;
	display: table-cell;
}

.down-pause {
    height: 15px;
    width: 15px;
    background: url(https://file.wzjun.com/icon/down-pause.png) no-repeat center;
	display: table-cell;
}
.down-play {
    height: 15px;
    width: 15px;
    background: url(https://file.wzjun.com/icon/down-play.png) no-repeat center;
	display: table-cell;
}
.down-close {
    height: 15px;
    width: 15px;
    background: url(https://file.wzjun.com/icon/down-close.svg) no-repeat center;
	display: table-cell;
}
.down-cancel {
    height: 15px;
    width: 15px;
    background: url(https://file.wzjun.com/icon/down-cancel.png) no-repeat center;
	display: table-cell;
}

.a-video.a-audio{margin-left: 5px;}

.floating-button:hover {
	transform: scale(1.1);
}

.floating-button i {
	color: white;
	font-size: 20px;
}

.download-count {
	position: absolute;
	top: -5px;
	right: -5px;
	background: #ff4444;
	color: white;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.download-window {
	position: absolute;
	bottom: 60px;
	right: 0;
	width: 300px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: bottom right;
}

.window-header {
	padding: 10px 15px;
	background: #f5f5f5;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.window-controls {
	display: flex;
	gap: 5px;
}

.close-button {
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
	color: #666;
	transition: color 0.3s;
}

.close-button:hover {
	color: #333;
}

.tab-container {
	display: flex;
	gap: 10px;
	padding: 0 10px;
}

.tab-button {
	padding: 8px 16px;
	border: none;
	background: none;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.3s ease;
	color: #666;
}

.tab-button:hover {
	background: rgba(33, 150, 243, 0.1);
}

.tab-button.active {
	background: #2196F3;
	color: white;
}

.tab-pane {
	display: none;
	max-height: 300px;
	overflow-y: auto;
}

.tab-pane.active {
	display: block;
}

.completed-item {
	padding: 12px;
	border-bottom: 1px solid #eee;
	transition: background-color 0.2s;
}

.completed-item:hover {
	background-color: #f5f5f5;
}

.completed-item-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 5px;
}

.completed-item-name {
	font-weight: 500;
	color: #333;
}

.completed-item-date {
	color: #666;
	font-size: 12px;
	margin-left: 10px;
}

.completed-item-size {
	color: #666;
	font-size: 12px;
}

.no-completed-downloads {
	padding: 20px;
	text-align: center;
	color: #666;
}

.download-item {
	padding: 10px;
	border-bottom: 1px solid #eee;
	animation: slideIn 0.3s ease;
}

.download-item:last-child {
	border-bottom: none;
}

.download-item-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 5px;
}

.download-item-name {
	font-size: 14px;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.download-item-controls {
	display: flex;
	gap: 5px;
}

.progress-bar {
	height: 4px;
	background: #eee;
	border-radius: 2px;
	overflow: hidden;
	margin: 5px 0;
}

.progress-bar-fill {
	height: 100%;
	background: #2196F3;
	width: 0;
	transition: width 0.3s ease;
}

.download-item-stats {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #666;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}




@media all {
	svg:not(:root) {
		overflow: hidden;
	}

	a:focus,
	a:hover {
		text-decoration: underline;
	}

	.col-xs-4 {
		float: left;
	}

	a {
		background-color: transparent;
	}

	a:active,
	a:hover {
		outline: 0;
	}

	@media print {

		*,
		:after,
		:before {
			color: #000 !important;
			text-shadow: none !important;
			background: 0 0 !important;
			-webkit-box-shadow: none !important;
			box-shadow: none !important;
		}

		a,
		a:visited {
			text-decoration: underline;
		}

		a[href]:after {
			content: " (" attr(href) ")";
		}
	}

	*,
	:after,
	:before {
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	a {
		text-decoration: none;
	}

	a:focus,
	a:hover {
		color: #23527c;
	}

	a:focus {
		outline-offset: -2px;
	}

	@media (min-width:768px) {
		.container {
			width: 750px;
		}
	}

	.container {
		margin-right: auto;
		margin-left: auto;
		/*padding-right: 15px;
		padding-left: 15px;*/
	}

	@media (min-width:992px) {
		.container {
			width: 970px;
		}
	}

	@media (min-width:1200px) {
		.container {
			width: 1170px;
		}
	}

	.row {
		margin-right: -15px;
		margin-left: -15px;
	}

	.col-md-3,
	.col-xs-4 {
		position: relative;
		min-height: 1px;
		padding-right: 15px;
		padding-left: 15px;
	}

	.col-xs-4 {
		width: 33.33333333%;
	}

	@media (min-width:992px) {
		.col-md-3 {
			float: left;
		}

		.col-md-3 {
			width: 25%;
		}
	}

	.container:after,
	.container:before,
	.row:after,
	.row:before {
		display: table;
		content: " ";
	}

	.container:after,
	.row:after {
		clear: both;
	}

	.col-xxs-6 {
		position: relative;
		min-height: 1px;
		padding-right: 15px;
		padding-left: 15px;
	}

	@media (max-width:479px) {
		.col-xxs-6 {
			float: left;
		}

		.col-xxs-6 {
			width: 50%;
            padding-right: 6px;
            padding-left: 6px; 			
		}
	}

	@media (min-width:1600px) {
		.container {
			width: 1570px;
		}
	}

	.fa-angle-right:before {
		content: "";
	}

	.fa-book-reader:before {
		content: "";
	}

	.fa-comments:before {
		content: "";
	}

	.fa-heart:before {
		content: "";
	}

	a:focus {
		outline: 0 !important;
		text-decoration: none;
		-webkit-appearance: none;
		-moz-appearance: none;
	}

	.color-2,
	.color-4 {
		color: #20a0ff !important;
	}

	.color-8 {
		color: #39c408 !important;
	}

	.color-7 {
		color: #ff8400 !important;
	}

	.color-1,
	.color-5 {
		color: #837adc !important;
	}


	.flex-shrink-0 {
		flex-shrink: 0;
	}

	.long-model,
	.long-model>.container {
		position: relative;
	}

	.long-model {
		border-top: 1px solid #d8e0ea;
		-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
		box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
		padding-top: 30px;
		/*padding-bottom: 60px;*/
	}

	.long-model .model-title {
		position: absolute;
		font-size: 19px;
		line-height: 22px;
		top: -61px;
		color: #8492a6;
		-webkit-transition: .25s;
		transition: .25s;
	}

	.long-model .model-title:after {
		content: "";
		position: absolute;
		display: inline-block;
		height: 3px;
		background: #20a0ff;
		background: -webkit-gradient(linear, left top, left bottom, color-stop(30%, #58B7FF), color-stop(70%, #20a0ff));
		background: -webkit-linear-gradient(#58B7FF 30%, #20a0ff 70%);
		background: linear-gradient(#58B7FF 30%, #20a0ff 70%);
		border-radius: 3px;
		bottom: -10px;
		left: 0;
		width: 30px;
		-webkit-box-shadow: 0 3px 4px rgba(32, 160, 255, .6);
		box-shadow: 0 3px 4px rgba(32, 160, 255, .6);
		-webkit-transition: .25s;
		transition: .25s;
	}

	.long-model:hover .model-title {
		color: #20a0ff;
	}

	.long-model:hover .model-title:after {
		left: -10px;
		width: calc(100% + 20px);
		-webkit-transition: .25s;
		transition: .25s;
	}

	.long-model .more {
		position: absolute;
		font-size: 12px;
		line-height: 24px;
		padding: 0 10px;
		border-radius: 20px;
		top: -43px;
		right: 15px;
		color: #8492a6;
		background: #fff;
		background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f7f8fa));
		background: -webkit-linear-gradient(#fff, #f7f8fa);
		background: linear-gradient(#fff, #f7f8fa);
		border: 1px solid #D3DCE6;
		text-decoration: none;
		-webkit-box-shadow: 0 5px 5px rgba(31, 45, 61, .06), 0 0 4px 20px rgba(32, 160, 255, 0) inset, 0 -1px 2px rgba(255, 255, 255, .5) inset;
		box-shadow: 0 5px 5px rgba(31, 45, 61, .06), 0 0 4px 20px rgba(32, 160, 255, 0) inset, 0 -1px 2px rgba(255, 255, 255, .5) inset;
		-webkit-transition: .25s;
		transition: .25s;
	}


	.long-model .more i {
		margin-left: 5px;
	}

	.postLists {
		-webkit-transition: opacity .25s, -webkit-transform .25s;
		transition: opacity .25s, -webkit-transform .25s;
		transition: opacity .25s, transform .25s;
		transition: opacity .25s, transform .25s, -webkit-transform .25s;
	}

	.postLists>.post-card-wrapper {
		z-index: 1;
	}

	.postLists.cards .post-item.m-card {
		display: flex;
		align-items: center;
		flex-direction: column;
		border: 1px solid #fff;
		border-radius: 1em;
		background: linear-gradient(#f4f7fa calc(100% - 1.5em), #e6ecf4);
		box-shadow: 0 1em 1em #1f2d3d26;
		text-align: center;
		text-shadow: 0 1px #fff;
		transition: .25s;
		margin-bottom: 4.75rem;
	}

	.postLists.cards .post-item.m-card .img,
	.postLists.cards .post-item.m-card .img::before {
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
		border-radius: .75em;
		transition: .25s;
	}

	.postLists.cards .post-item.m-card:hover {
		transform: translateY(1em);
		box-shadow: 0 .2em .4em #1f2d3d33;
	}

	.postLists.cards .post-item.m-card .img {
		position: relative;
		display: block;
		margin-top: -.625em;
		width: calc(100% - .85em);
		padding-top: calc(89.45% - .67em);
		box-shadow: 1px 0 rgba(255, 255, 255, .5), -1px 0 rgba(255, 255, 255, .5), 0 1px rgba(255, 255, 255, .5);
		transform-style: preserve-3d;
		transform: translateZ(0);
	}

	.postLists.cards .post-item.m-card:hover .img {
		transform: translateY(1em) translateZ(0);
	}

	.postLists.cards .post-item.m-card .img::before {
		content: "";
		position: absolute;
		top: .75em;
		left: .4em;
		right: .4em;
		/*bottom: -.75em;*/
		background-image: inherit;
		/*opacity: .6;
		filter: blur(1em);*/
		transform-style: preserve-3d;
		transform: translateZ(-1px);
	}

	.postLists.cards .post-item.m-card:hover .img::before {
		opacity: 0;
	}

	.postLists.cards .post-item.m-card .img .date {
		display: none;
		background: rgba(0, 0, 0, .2);
		border-radius: 0 0 .75em .75em;
		height: 3em;
		justify-content: center;
		column-gap: .25em;
		align-items: center;
		text-decoration: none;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		opacity: 0;
		transition: .25s;
		font-size: 14px;
		color: #fff;
		text-shadow: 0 3px 3px rgba(0, 0, 0, .3);
	}

	.postLists.cards .post-item.m-card:hover .img .date {
		opacity: 1;
	}

	.svg-icon {
		vertical-align: -.125em;
		fill: currentColor;
	}

	.postLists.cards .post-item.m-card .infos {
		width: 100%;
	}

	.postLists.cards .post-item.m-card .title {
		font-size: 16px;
		padding: 0 .5em;
		margin: 1em 0 .5em;
		white-space: nowrap;
		overflow: hidden;
		max-width: 100%;
		text-overflow: ellipsis;
		text-shadow: 0 1px #fff;
		transition: .25s;
	}

	.postLists.cards .post-item.m-card:hover .title {
		transform: translateY(.5em);
	}

	.postLists.cards .post-item.m-card .infos .date,
	.postLists.cards .post-item.m-card a.title {
		display: none;
	}
.metas {
    margin-bottom: 10px;
}
	.postLists .post-item .metas {
		font-size: 13px;
		display: flex;
		transform-origin: left;
		transition: .25s;
	}

	.postLists.cards .post-item.m-card .metas {
		column-gap: 1.2em;
		justify-content: center;
	}

	.postLists.cards .post-item.m-card:hover .metas {
		transform: translateY(.8em) scale(.8);
		opacity: 0;
	}

	.postLists .post-item .metas span {
		display: flex;
		column-gap: .25em;
		justify-content: center;
		align-items: center;
	}

	.postLists .post-item .metas .likes {
		color: #f56c6c;
	}

	.postLists .post-item .metas .comments {
		color: #1f8bff;
	}

	.postLists .post-item .metas .views {
		color: #67c23a;
	}
.tags-ico{
	display: inline-block;
	background: url(https://file.wzjun.com/img/doubt.gif);
	background-repeat: no-repeat;
    background-size: cover;
    width: 25px;
    height: 25px;
}
.tags {
            display: grid;
            justify-items: center;
            gap: 10px;

}
a.color-1 {
    font-weight: 600;
	margin-bottom: 5px;
}
	.postLists .post-item .tags {
		white-space: nowrap;
		overflow: hidden;
		mask-image: linear-gradient(90deg, #000 calc(100% - 1em), transparent calc(100% - .2em));
		transition: .25s;
	}

	.postLists.cards .post-item.m-card .tags {
		width: 100%;
		transform-origin: right;
		padding: 0 .5em;
		opacity: 0;
		visibility: hidden;
		transform: scale(.8);
		margin-top: -.7em;
	}

	.postLists .post-item .tags a {
		text-decoration: none;
		font-size: 13px;
		display: inline;
		margin-right: .5em;
		padding: .2em .5em;
		border-radius: 9em;
	}

	.postLists.cards .post-item.m-card:hover .tags {
		transform: scale(1);
		opacity: 1;
		visibility: visible;
	}

	.postLists .post-item .tags .color-1,
	.postLists .post-item .tags .color-5 {
		color: #ff4949  !important;
		background: rgba(32, 160, 255, .15);
	}

	.postLists .post-item .tags .color-2 {
		color: #39c408 !important;
		background: rgba(57, 196, 8, .15);
	}

	.postLists .post-item .tags .color-7 {
		color: #ff8400 !important;
		background: rgba(255, 132, 0, .15);
	}

	.postLists .post-item .tags .color-4,
	.postLists .post-item .tags .color-8 {
		color: #837adc !important;
		background: rgba(131, 122, 220, .15);
	}

	.postLists.cards .post-item.m-card .go {
		display: inline-block;
		min-width: 50%;
		background: linear-gradient(90deg, var(--d-color), var(--l-color));
		box-shadow: 0 .5em 1.2em var(--s-color);
		font-size: 14px;
		margin: .3em 0 1.5em;
		padding: .45em 1.5em;
		border-radius: 9em;
		text-decoration: none;
		color: #fff;
		text-shadow: 0 2px 3px var(--s-color);
		transition: .25s;
	}

	.postLists.cards .post-item.m-card:hover .go {
		transform: translateY(.3em);
	}

	.postLists.cards .post-item.m-card .go:hover {
		min-width: 60%;
	}

	@media screen and (max-width:767px) {
		.long-model-wrapper .postLists.cards .post-card-wrapper {
			padding-left: 8px;
			padding-right: 8px;
		}

		.row.postLists.cards {
			margin-right: -7px;
			margin-left: -7px;
		}

.floating-announcement-btn-container.bottom-right {
    bottom: 14%!important;
    right: 2em!important;
}
	}

	@media (min-width:768px) and (max-width:991px) {
		.container {
			width: auto;
		}
	}

	@media (min-width:992px) {
		.container {
			width: calc(100% - 80px) !important;
			max-width: 1680px !important;
		}
	}

	@media (min-width:1200px) {
		.long-model .postLists.cards .post-card-wrapper {
			width: 20%;
		}
	}

	a {
		color: #99a9bf;
	}
}
.sd-image {
    margin-bottom: 35px;
}
@media all {
	.fa-heart:before {
		content: "\f004";
	}

	.fa-comments:before {
		content: "\f086";
	}

	.fa-angle-right:before {
		content: "\f105";
	}
}


.image-download,.text-copy,.image-all,.image-cancel {
		margin-left: 20px;
	}
.text-copy{float: left !important;}	

.image-download:hover,.text-copy:hover,.image-all:hover,.image-cancel:hover,.download-cover-option:hover{color:#fff;}

	.image-download,.text-copy,.image-all,.image-cancel,.download-cover-option {
		border: none;
		background: #20a0ff;
		background: -webkit-gradient(linear, left top, right top, from(#20a0ff), to(#20b8ff));
		background: -webkit-linear-gradient(left, #20a0ff, #20b8ff);
		background: linear-gradient(90deg, #20a0ff, #20b8ff);
		color: #fff;
		padding: 6px 15px;
		border-radius: 6px;
		-webkit-box-shadow: 0 3px 5px rgba(32, 160, 255, .5);
		box-shadow: 0 3px 5px rgba(32, 160, 255, .5);
		float: right;
	}
a.more.sd-back {
    right: 120px !important;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

a.more.sd-back:hover{
background: -webkit-gradient(linear, left top, right top, from(#20a0ff), to(#20b8ff));	
color:#fff;
}
div#sd-tip {
    position: fixed;
    bottom: 8px;
    right: 50%;
    top: 50%;
    height: 90px;
    text-align: center;		
}


div#loader-wrapper {
    justify-content: center;
    display: flex;
    top: auto;
    position: sticky;
    margin: 185px 0px 185px 0px;
}


@media all {
	textarea {
		margin: 0;
		font: inherit;
		color: inherit;
	}

	textarea {
		overflow: auto;
	}

	@media print {

		*,
		:after,
		:before {
			color: #000 !important;
			text-shadow: none !important;
			background: 0 0 !important;
			-webkit-box-shadow: none !important;
			box-shadow: none !important;
		}
	}

	*,
	:after,
	:before {
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	textarea {
		font-family: inherit;
		font-size: inherit;
		line-height: inherit;
	}

	textarea {
		outline: 0 !important;
		text-decoration: none;
		-webkit-appearance: none;
		-moz-appearance: none;
	}

	.comment-input {
		min-width: 200px;
		background: #f0f2f7;
		border: 1px solid #f0f2f7;
		padding: 5px 9px;
		border-radius: 6px;
		-webkit-box-shadow: none !important;
		box-shadow: none !important;
		resize: none;
		-webkit-transition: .25s;
		transition: .25s;
	}

	.comment-input:focus {
		background: #fff;
		border-color: #20a0ff;
		-webkit-box-shadow: 0 0 0 3px rgba(32, 160, 255, .2) !important;
		box-shadow: 0 0 0 3px rgba(32, 160, 255, .2) !important;
		-webkit-transition: .25s;
		transition: .25s;
	}

	textarea#image-comment {
		width: 100%;
		margin-top: 10px;
	}
	textarea#video-comment {
		width: 100%;
		margin-top: 10px;
	}	
}



.checkbox {
  --blue: #0d7eff;
  --g08: #e1e5eb;
  --g04: #848ea1;
  text-align: center;
  margin-bottom: 10px;  
}

.checkbox .tgl {
  display: none;
}
.checkbox .tgl,
.checkbox .tgl:after,
.checkbox .tgl:before,
.checkbox .tgl *,
.checkbox .tgl *:after,
.checkbox .tgl *:before,
.checkbox .tgl + .tgl-btn {
  box-sizing: border-box;
}
.checkbox .tgl::selection,
.checkbox .tgl:after::selection,
.checkbox .tgl:before::selection,
.checkbox .tgl *::selection,
.checkbox .tgl *:after::selection,
.checkbox .tgl *:before::selection,
.checkbox .tgl + .tgl-btn::selection {
  background: none;
}
.checkbox .tgl + .tgl-btn {
  outline: 0;
  display: block;
  width: 57px;
  height: 27px;
  position: relative;
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
}
.checkbox .tgl + .tgl-btn:after,
.checkbox .tgl + .tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 44%;
  height: 100%;
}
.checkbox .tgl + .tgl-btn:after {
  left: 0;
}
.checkbox .tgl + .tgl-btn:before {
  display: inline;
  position: absolute;
}
.checkbox .tgl:checked + .tgl-btn:after {
  left: 56.5%;
}

.checkbox .tgl + .tgl-btn {
  background: var(--g08);
  border-radius: 20rem;
  padding: 2px;
  transition: all 0.4s ease;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.checkbox .tgl + .tgl-btn:after {
  border-radius: 2em;
  background: #fff;
  transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    padding 0.3s ease, margin 0.3s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}
.checkbox .tgl + .tgl-btn:before {
  content: "No";
  left: 28px;
  color: var(--g04);
  transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.checkbox .tgl + .tgl-btn:active {
  box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
}
.checkbox .tgl + .tgl-btn:active:after {
  padding-right: 0.4em;
}
.checkbox .tgl:checked + .tgl-btn {
  background: var(--blue);
}
.checkbox .tgl:checked + .tgl-btn:active {
  box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
}
.checkbox .tgl:checked + .tgl-btn:active:after {
  margin-left: -0.4em;
}
.checkbox .tgl:checked + .tgl-btn:before {
  content: "Yes";
  left: 4px;
  color: #fff;
}


.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: "Arial", sans-serif;
  font-size: 16px;
  color: #522f2f;
}

.checkbox-input {
  display: none;
}


.checkbox-custom {
  width: 35px;
  height: 35px;
  background: radial-gradient(circle at 30% 30%, white 15%, #f0f0f0 85%);
  border-radius: 50%;
  border: 2px solid #ccc;
  position: relative;
  box-shadow:
    0 6px 10px rgba(0, 0, 0, 0.15),
    inset -3px -3px 5px rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}


.checkbox-label:hover .checkbox-custom {
  transform: scale(1.1);
  box-shadow:
    0 10px 16px rgba(0, 0, 0, 0.25),
    inset -3px -3px 7px rgba(255, 255, 255, 0.8);
  transition:
    transform 0.2s,
    box-shadow 0.3s;
}


.checkbox-input:checked + .checkbox-custom {
  background: radial-gradient(circle at 30% 30%, #f0f0f0 20%, #50c7e0 85%);
  border-color: #0ba4eb;
  animation: bounce 0.4s ease forwards;
  box-shadow:
    0 8px 14px rgba(0, 0, 0, 0.3),
    inset -5px -5px 8px rgba(255, 255, 255, 0.8);
}


.checkbox-input:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 30%, white 30%, #50c7e0 90%);
  border-radius: 50%;
  top: 6px;
  left: 6px;
  box-shadow: 0 0 8px rgba(107, 189, 248, 0.966);
  transform: scale(0);
  transition: transform 0.3s ease;
}

.checkbox-input:checked + .checkbox-custom::after {
  transform: scale(1);
}


.checkbox-custom::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0)
  );
  border-radius: 50%;
  top: 5px;
  left: 8px;
  opacity: 0.8;
  pointer-events: none;
}


@keyframes bounce {
  0% {
    transform: translateY(0) scale(1);
  }
  30% {
    transform: translateY(-15px) scale(1.1);
  }
  60% {
    transform: translateY(5px) scale(0.9);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}


loader-box {
  background: #fff;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.loading-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.loading-wrapper .loader {
  height: 80px;
  width: 80px;
  border: 3px solid #e5e5e5;
  border-radius: 50%;
  -webkit-animation: pulse1572 1200ms ease-in-out;
  animation: pulse1572 1200ms ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.loading-wrapper .loader .loader-inner {
  display: block;
  height: 40px;
  width: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background: linear-gradient(180deg, rgb(0, 140, 255) 0%, rgb(218, 67, 218) 100%);
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  border-radius: 50%;
  -webkit-animation: innerPulse934 1200ms ease-in-out;
  animation: innerPulse934 1200ms ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-delay: 600ms;
  animation-delay: 600ms;
  box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);
}

@keyframes pulse1572 {
  0% {
    border: 3px solid #fff;
  }

  50% {
    border: 40px solid #fff;
  }

  100% {
    border: 3px solid #fff;
  }
}

@keyframes innerPulse934 {
  0% {
    height: 30px;
    width: 30px;
  }

  50% {
    height: 53.33333px;
    width: 53.33333px;
  }

  100% {
    height: 30px;
    width: 30px;
  }
}



@media all {
	@media print {

		*,
		:after,
		:before {
			color: #000 !important;
			text-shadow: none !important;
			background: 0 0 !important;
			-webkit-box-shadow: none !important;
			box-shadow: none !important;
		}

		p {
			orphans: 3;
			widows: 3;
		}
	}

	*,
	:after,
	:before {
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	p {
		margin: 0 0 10px;
	}

	.tip {
		-webkit-box-shadow: 0 3px 5px rgba(32, 160, 255, .5);
	}

	.tip:before {
		font-weight: 900;
		font-family: "Font Awesome 5 Pro";
	}

	article p {
		z-index: 2;
		font-size: 16px;
		position: relative;
	}

	article p {
		line-height: 1.9;
		margin: 0 0 20px;
	}

	.tip,
	.tip:before {
		text-shadow: 0 -1px #20a0ff;
	}

	.tip,
	.tip:before {
		background: #20a0ff;
	}

	.tip.inlineBlock {
		display: inline-block;
	}

	.tip:before {
		text-align: center;
	}

	.tip {
		position: relative;
		color: #fff;
		background: -webkit-gradient(linear, left top, right top, from(#20a0ff), to(#20b8ff));
		background: -webkit-linear-gradient(left, #20a0ff, #20b8ff);
		background: linear-gradient(90deg, #20a0ff, #20b8ff);
		padding: 6px 20px;
		border-radius: 10px;
		box-shadow: 0 3px 5px rgba(32, 160, 255, .5);
		margin-bottom: 20px;
	}

	.tip p {
		margin: 5px 0 !important;
	}

	.tip:before {
		background: -webkit-gradient(linear, left bottom, left top, from(#0092ff), to(#20b8ff));
		background: -webkit-linear-gradient(bottom, #0092ff, #20b8ff);
		background: linear-gradient(0deg, #0092ff, #20b8ff);
		border-radius: 50%;
		color: #fff;
		font-size: 12px;
		position: absolute;
		width: 24px;
		height: 24px;
		line-height: 24.5px;
		left: -12px;
		top: -12px;
		-webkit-box-shadow: 0 0 0 2.5px #fff;
		box-shadow: 0 0 0 2.5px #fff;
	}

	.tip.error {
		background: #ff4949;
		background: -webkit-gradient(linear, left top, right top, from(#ff4949), to(#ff7849));
		background: -webkit-linear-gradient(left, #ff4949, #ff7849);
		background: linear-gradient(90deg, #ff4949, #ff7849);
		text-shadow: 0 -1px #ff4949;
		-webkit-box-shadow: 0 3px 5px rgba(255, 73, 73, .5);
		box-shadow: 0 3px 5px rgba(255, 73, 73, .5);
	}

	.tip.error:before {
		background: -webkit-gradient(linear, left bottom, left top, from(#ff3838), to(#ff7849));
		background: -webkit-linear-gradient(bottom, #ff3838, #ff7849);
		background: linear-gradient(0deg, #ff3838, #ff7849);
		background: url(https://file.wzjun.com/icon/pdnotify.error.before.svg) 50% / 65% 65% no-repeat, linear-gradient(0deg, #ff3838, #ff7849);
		text-shadow: 0 -1px #ff4949;
	}
}


@media all {
	@media print {

		*,
		:after,
		:before {
			color: #000 !important;
			text-shadow: none !important;
			background: 0 0 !important;
			-webkit-box-shadow: none !important;
			box-shadow: none !important;
		}

		p {
			orphans: 3;
			widows: 3;
		}
	}

	*,
	:after,
	:before {
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	p {
		margin: 0 0 10px;
	}

	.tip {
		-webkit-box-shadow: 0 3px 5px rgba(32, 160, 255, .5);
	}

	.tip:before {
		content: "";
	}

	.tip:before {
		font-weight: 900;
		font-family: "Font Awesome 5 Pro";
	}

	article p {
		z-index: 2;
		font-size: 16px;
		position: relative;
	}

	article p {
		line-height: 1.9;
		margin: 0 0 20px;
	}

	.tip,
	.tip:before {
		text-shadow: 0 -1px #20a0ff;
	}

	.tip,
	.tip:before {
		background: #20a0ff;
	}

	.tip.inlineBlock {
		display: inline-block;
	}

	.tip:before {
		text-align: center;
	}



.tip {
	position: relative;
	color: #fff;
	background: -webkit-gradient(linear, left top, right top, from(#20a0ff), to(#20b8ff));
	background: -webkit-linear-gradient(left, #20a0ff, #20b8ff);
	background: linear-gradient(90deg, #20a0ff, #20b8ff);
	padding: 6px 20px;
	border-radius: 10px;
	box-shadow: 0 3px 5px rgba(32, 160, 255, .5);
	margin-bottom: 20px;
	transition: opacity 0.5s ease, transform 0.5s ease;
}	

	.tip p {
		margin: 5px 0 !important;
	}

	.tip:before {
		background: -webkit-gradient(linear, left bottom, left top, from(#0092ff), to(#20b8ff));
		background: -webkit-linear-gradient(bottom, #0092ff, #20b8ff);
		background: linear-gradient(0deg, #0092ff, #20b8ff);
		border-radius: 50%;
		color: #fff;
		font-size: 12px;
		position: absolute;
		width: 24px;
		height: 24px;
		line-height: 24.5px;
		left: -12px;
		top: -12px;
		-webkit-box-shadow: 0 0 0 2.5px #fff;
		box-shadow: 0 0 0 2.5px #fff;
	}

	.tip.success {
		background: #61be33;
		background: -webkit-gradient(linear, left top, right top, from(#61be33), to(#8fce44));
		background: -webkit-linear-gradient(left, #61be33, #8fce44);
		background: linear-gradient(90deg, #61be33, #8fce44);
		text-shadow: 0 -1px #61be33;
		-webkit-box-shadow: 0 3px 5px rgba(104, 195, 59, .5);
		box-shadow: 0 3px 5px rgba(104, 195, 59, .5);
	}

	.tip.success:before {
		background: -webkit-gradient(linear, left bottom, left top, from(#52bb1d), to(#95d34b));
		background: -webkit-linear-gradient(bottom, #52bb1d, #95d34b);
		background: linear-gradient(0deg, #52bb1d, #95d34b);
		background: url(https://file.wzjun.com/icon/pdnotify.success.before.svg) 50%/65% 65% no-repeat,linear-gradient(0deg,#52bb1d,#95d34b);
		text-shadow: 0 -1px #61be33;
	}
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


.tip-animate {
    animation: tipSlideIn 0.3s ease forwards,
              tipFadeOut 0.3s ease 50s forwards;
    transform-origin: top;
}

#sd-tip {
    z-index: 9999;
}


.tip-animate {
    animation: tipSlideIn 0.3s ease forwards;
    transform-origin: top;
}

.tip-fadeout {
    animation: tipFadeOut 0.5s ease forwards;
}

@keyframes tipSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes tipFadeOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}

@media (min-width: 1200px) {
    .long-model .postLists.cards .post-card-wrapper {
        width: 25% !important;
    }
}
.long-model .more{font-weight:600;}
/*
ul.sub-menu.uicore-megamenu.bdt-navbar-dropdown {
    left: 85%;
    top: 20%;
    min-width: 900px !important;
}
ul.sub-menu {
    border: 0px solid;
}*/

ul.sub-menu {
    overflow-y: auto;
    height: 300px;
}


    @media screen and (max-width: 767px) {
.postLists .post-item .metas {
    font-size: 10px !important;
}
.tags {
    display: none;
}
div#sd-tip {
    right: 30% !important;
    margin-left: 20px;
}

.image-download,.text-copy,.image-all,.image-cancel {
		margin-left: 14px !important;
	}
.image-download, .text-copy, .image-all, .image-cancel, .download-cover-option{
	padding: 5px 8px !important;
	/*margin-top: 10px;*/
}    

div#search-content {
    margin-left: 10px;
    margin-right: 10px;
}
.sd-imgrow.postLists.cards {
    margin-top: 80px !important;
}
.col-xxs-6 {
	margin-top: 20px;		
}			
	}


@media screen and (min-width: 768px) and (max-width: 991px) {
.tags {
    display: none;
}
div#search-content {
    margin-left: 50px;
    margin-right: 50px;
}
.sd-imgrow.postLists.cards {
    margin-top: 100px !important;
}
    }


    @media screen and (min-width: 992px) {

div#search-content {
    margin-left: 100px;
    margin-right: 100px;
}
.sd-imgrow.postLists.cards {
    margin-top: 100px !important;
}
    }



.media-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.media-tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    position: relative;
    transition: color 0.3s ease;
}

.media-tab.active {
    color: #0488ce;
}

.media-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0488ce;
    transform: scaleX(0);
    animation: tabLine 0.3s forwards;
}

.media-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.media-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@keyframes tabLine {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}
/*
.ads-content {
    margin-bottom: 60px;
    margin-top: 20px;
}*/
div#search-content {
    margin-top: 50px;
	margin-bottom: 30px;
}



.live-photo-container {
    position: relative;
    overflow: hidden;
}

.live-photo-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.live-photo-container.playing .live-photo-video {
    opacity: 1;
}


.live-photo-video::-webkit-media-controls {
    display: none !important;
}

.live-photo-video::-webkit-media-controls-panel {
    display: none !important;
}

.live-photo-video::-webkit-media-controls-play-button {
    display: none !important;
}

.live-photo-video::-webkit-media-controls-timeline {
    display: none !important;
}

.live-photo-video::-webkit-media-controls-current-time-display {
    display: none !important;
}

.live-photo-video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

.live-photo-video::-webkit-media-controls-mute-button {
    display: none !important;
}

.live-photo-video::-webkit-media-controls-toggle-closed-captions-button {
    display: none !important;
}

.live-photo-video::-webkit-media-controls-volume-slider {
    display: none !important;
}


.live-photo-container::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: url('https://file.wzjun.com/icon/live.webp') no-repeat center;
    background-size: contain;
    z-index: 2;
    opacity: 0.8;
    padding: 14px;
    background-color: #dcdcdc;
    border-radius: 10px;	
}

        .cover-checkbox-container {
            display: inline-flex;
            align-items: center;
            position: relative;
            padding-left: 25px;           
            cursor: pointer;
            font-size: 16px;
            user-select: none;
        }


        .cover-checkbox-container input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
            height: 0;
            width: 0;
        }


        .cover-checkbox-checkmark {
            position: absolute;
            left: 0;
            height: 20px;
            width: 20px;
            background-color: #eee;
            border-radius: 4px;
            transition: all 0.3s ease;
        }


        .cover-checkbox-container:hover input ~ .cover-checkbox-checkmark {
            background-color: #ccc;
        }


        .cover-checkbox-container input:checked ~ .cover-checkbox-checkmark {
            background-color: #fe7272;
            transform: scale(1.05);
        }


        .cover-checkbox-checkmark:after {
            content: "";
            position: absolute;
            display: none;
        }


        .cover-checkbox-container input:checked ~ .cover-checkbox-checkmark:after {
            display: block;
        }


        .cover-checkbox-container .cover-checkbox-checkmark:after {
            left: 7px;
            top: 3px;
            width: 6px;
            height: 12px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }


        .cover-checkbox-container input:active ~ .cover-checkbox-checkmark {
            transform: scale(0.9);
        }
.uicore-back-to-top {
    right: 2.5em;
    bottom: 9em;
}
#ads-content,.ads-nrend{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
	 margin-top: 15px;
}		
span.cover-checkbox-text {
    text-align: center;
	margin-left: 5px;
}
.floating-announcement-btn.circle {
    width: 50px;
    height: 50px;
}

.floating-announcement-btn-container.bottom-right {
    bottom: 45%;
    right: 2em;
}
.modal-body {
    background: #e8f0faff;
}





/*新的模板*/

/* 视频下载模板样式 */
.video-template {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'DM Sans', Roboto, sans-serif;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* 头部样式 */
.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.video-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.back-button {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-button svg {
    fill: #555;
    margin-right: 5px;
}

.back-button:hover {
    background: #e0e0e0;
    transform: translateX(-5px);
}

/* 内容区域样式 */
.video-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

/* 视频预览区域 */
.video-preview-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-preview:hover {
    transform: scale(1.02);
}

.preview-image {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button svg {
    fill: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button:hover svg {
    transform: scale(1.1);
}

.cover-download {
    display: flex;
    justify-content: center;
}

.download-cover-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-cover-btn svg {
    fill: #333;
}

.download-cover-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* 视频信息区域 */
.video-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.description-container {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
}

.description-container h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.description-content {
    position: relative;
}

#video-comment {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn svg {
    fill: #555;
}

.copy-btn:hover {
    background: #f0f0f0;
}

/* 下载区域样式 */
.download-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.download-tabs {
    display: flex;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #0488ce;
    transition: width 0.3s ease;
}

.tab-btn.active {
    color: #0488ce;
}

.tab-btn.active:after {
    width: 100%;
}

.tab-btn:hover:not(.active):after {
    width: 50%;
}

.tab-content {
    padding: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 下载列表样式 */
.download-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.download-item {
    display: block;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease forwards;
}

.download-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #0488ce;
    border-radius: 8px;
}

.item-icon svg {
    fill: #fff;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-quality {
    font-weight: 600;
    color: #333;
}

.item-size {
    color: #888;
    font-size: 14px;
}

.item-actions {
    display: flex;
    gap: 10px;
}

.preview-btn, .download-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.preview-btn {
    background: #f0f0f0;
    color: #555;
}

.preview-btn svg {
    fill: #555;
}

.preview-btn:hover {
    background: #e0e0e0;
}

.download-btn {
    background: #0488ce;
    color: #fff;
}

.download-btn svg {
    fill: #fff;
}

.download-btn:hover {
    background: #0376b2;
    transform: translateY(-2px);
}

.download-btn:active {
    animation: pulse 0.3s ease;
}

/* 加载和无内容提示 */
.loading-indicator, .no-content {
    padding: 30px;
    text-align: center;
    color: #888;
}

/* 视频预览模态窗口 */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    width: 80%;
    max-width: 900px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close-modal {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.close-modal svg {
    fill: #555;
    transition: fill 0.3s ease;
}

.close-modal:hover svg {
    fill: #333;
}

.modal-body {
    padding: 20px;
}

#preview-video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    border-radius: 8px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .video-content {
        grid-template-columns: 1fr;
    }
    
    .video-preview-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .download-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 0 50%;
    }
    
    .item-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .video-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .item-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .download-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .item-actions {
        width: 100%;
        flex-direction: row;
    }
    
    .preview-btn, .download-btn {
        flex: 1;
    }
}

/* 自定义滚动条 */
.download-list::-webkit-scrollbar {
    width: 6px;
}

.download-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.download-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.download-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 选项卡切换动画 */
.tab-pane.active {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}




/* 下载管理器样式 */
.video-download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background-color: #f8f9fa;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.video-download-item:hover {
    background-color: #eef2f7;
}

.video-download-item .item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-download-item .item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0488ce;
}

.video-download-item .item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.video-download-item .item-quality {
    font-weight: 500;
    color: #333;
}

.video-download-item .item-size {
    font-size: 12px;
    color: #666;
}

.video-download-item .item-actions {
    display: flex;
    gap: 8px;
}

.manager-download-item {
    /* 下载管理器中的下载项特有样式 */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.manager-download-item .download-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.manager-download-item .download-item-name {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.manager-download-item .download-item-controls {
    display: flex;
    gap: 5px;
}

.manager-download-item .progress-bar {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.manager-download-item .progress-bar-fill {
    height: 100%;
    background-color: #4bbffc;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.manager-download-item .download-item-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

/* 视频内容区域中的下载项样式 */
.video-tab-content .download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background-color: #f8f9fa;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.video-tab-content .download-item:hover {
    background-color: #eef2f7;
}

.video-tab-content .item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-tab-content .item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0488ce;
}

.video-tab-content .item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.video-tab-content .item-quality {
    font-weight: 500;
    color: #333;
}

.video-tab-content .item-size {
    font-size: 12px;
    color: #666;
}

.video-tab-content .item-actions {
    display: flex;
    gap: 8px;
}

.video-tab-content .preview-btn,
.video-tab-content .download-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.video-tab-content .preview-btn {
    background-color: #f0f0f0;
    color: #333;
}

.video-tab-content .preview-btn:hover {
    background-color: #e0e0e0;
}

.video-tab-content .download-btn {
    background-color: #0488ce;
    color: white;
}

.video-tab-content .download-btn:hover {
    background-color: #0376b2;
}

/* 下载管理器按钮样式 */
.down-pause, .down-play, .down-cancel, .down-manage, .down-close {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.down-pause {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"/></svg>');
}

.down-play {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M8 5v14l11-7z"/></svg>');
}

.down-cancel {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
}

.down-manage {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fff"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/></svg>');
}

.down-close {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
}

/* 下载管理器按钮容器样式 */
.pause-btn, .resume-btn, .cancel-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.pause-btn:hover, .resume-btn:hover, .cancel-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}