/* 首页样式 */
.joe_index {
	border-radius: var(--radius-wrap);
	padding: 0 15px;
	background: transparent;
}

.joe_index__banner {
	display: flex;
	background: var(--background);
	border-radius: var(--radius-inner);
	margin-bottom: 2vh;
}

.joe_index__banner-recommend {
	width: 100%;
	display: grid;
	flex-wrap: wrap;
	gap: 15px;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 2vh;

	&.noswiper {
		width: 100%;
		flex-direction: row;
		margin-left: 0;

		.item {
			&:first-child {
				margin-bottom: 0;
				margin-right: 7.5px;
			}

			&:last-child {
				margin-left: 7.5px;
			}
		}
	}

	.item {
		position: relative;
		width: 100%;
		height: 160px;
		box-shadow: 0 0 10px rgba(50, 50, 50, 0.4);
		border-radius: var(--radius-inner);
		overflow: hidden;
		transition: .3s;

		&:hover {
			opacity: 1;
			z-index: 99;
			border-radius: var(--radius-wrap);
			transform: translateY(-5px);
			box-shadow: 0 3px 20px rgb(0 0 0 / 40%);
			animation: index-link-active 1s cubic-bezier(0.315, 0.605, 0.375, 0.925) forwards;
		}

		&:last-child {
			margin-bottom: 0;
		}

		.thumbnail {
			display: block;
			width: 100%;
			height: 100%;

			img {
				width: 100%;
				height: 100%;
				-o-object-fit: cover;
				object-fit: cover;
			}
		}

		.information {
			display: flex;
			align-items: center;
			justify-content: center;
			position: absolute;
			z-index: 1;
			bottom: 0;
			left: 0;
			right: 0;
			padding: 8px;
			background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
			color: #fff;
			line-height: 20px;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}

		.type {
			background-image: linear-gradient(270deg, #986fee, #8695e6, #68b7dd, #18d7d3);
			background-color: #8695e6;
			text-align: center;
			padding: 1px 8px;
			border-radius: 2px;
			height: 20px;
			font-size: 12px;
			color: #fff;
			z-index: 2;
			-webkit-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none;
			position: absolute;
			top: 0.9vh;
			left: 0.9vh;
		}

		.information .text {
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}
	}
}

.joe_index__hot-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	-webkit-column-gap: 15px;
	column-gap: 15px;

	.item {
		overflow: hidden;
		transition: 0.3s;
		background: var(--background);
		border-radius: 5px;
		box-shadow: 0 0 10px rgb(116 116 116 / 30%);

		&:hover {
			opacity: 1;
			z-index: 99;
			border-radius: var(--radius-wrap);
			transform: translateY(-5px);
			box-shadow: 0 3px 20px rgb(0 0 0 / 40%);
			animation: index-link-active 1s cubic-bezier(0.315, 0.605, 0.375, 0.925) forwards;
		}
	}

	.item>.item-body {
		padding: 10px;
		background: var(--background);
		border-radius: 0px 0px 4px 4px;
		padding-bottom: 5px;
		padding-top: 5px;
	}

	.item>.item-body>.item-heading {
		margin-bottom: 5px;
		font-size: 14px;
		line-height: 1.4em;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		white-space: normal;
		height: 2.8em;
	}

	.item>.item-body>.item-heading>a {
		color: var(--main);
		transition: 0.2s;

		&:hover {
			color: var(--theme);
		}
	}

	.item>.item-body>.item-tags-category {
		min-height: 23px;
		margin-bottom: 6px;
		white-space: nowrap;
		scrollbar-width: none;
		-ms-overflow-style: none;
		overflow: hidden;
		overflow-x: auto;

		&::-webkit-scrollbar {
			height: 5px;
		}
	}
}

.joe_index__hot-list .item>.item-body>.item-tags-category>.item-category>a,
.joe_index__hot-list .item>.item-body>.item-tags-category>.item-tags>a {
	font-size: 11px;
	padding: 2px 5px;
	margin-right: 5px;
	transition: color .2s, background .3s, opacity .3s, box-shadow .3s, transform .3s;
	display: inline-block;
	border-radius: 4px;
	border: 1px solid transparent;
	vertical-align: middle;
	text-align: center;
	font-weight: 400;
	background: rgba(136, 136, 136, .1);
	color: #888;
	line-height: 1.44;
}

.joe_index__hot-list .item>.item-body>.item-tags-category>.item-tags>a::before {
	content: '# ';
}

.joe_index__hot-list .item>.item-body>.item-tags-category>.item-category>a:hover,
.joe_index__hot-list .item>.item-body>.item-tags-category>.item-tags>a:hover {
	opacity: .8;
}

.joe_index__hot-list {
	.item>.item-body>.item-tags-category>.item-category>.c-blue {
		color: #2997f7;
		background: rgba(41, 151, 247, .1);
	}

	.item>.item-body>.item-tags-category>.item-category>.c-yellow {
		color: #ff6f06;
		background: rgba(255, 111, 6, 0.1);
	}

	.item>.item-body>.item-tags-category>.item-category>a>.fa {
		font-size: 1em;
		margin-right: .25em;
	}

	.item .link {
		display: block;

		.inner {
			position: relative;

			&:hover {
				.image {
					opacity: 0.85;
				}

				.title {
					background: var(--classC);
				}
			}

			.image {
				width: 100%;
				height: 120px;
				-o-object-fit: cover;
				object-fit: cover;
				transition: opacity 0.35s;
				border-radius: var(--radius-inner) var(--radius-inner) 0 0;
			}

			.title {
				/*font-size: 13px;*/
				/*white-space: nowrap;*/
				/*overflow: hidden;*/
				/*text-overflow: ellipsis;*/
				/*text-align: center;*/
				/*padding: 0 8px;*/
				/*line-height: 32px;*/
				/*color: var(--minor);*/
				/*background: var(--classD);*/
				/*transition: background 0.35s;*/
				/*border-radius: 0 0 var(--radius-inner) var(--radius-inner)*/

			}

			.views {
				display: flex;
				align-items: center;
				position: absolute;
				z-index: 1;
				top: 5px;
				right: 5px;
				background-image: linear-gradient(to right, #fc712a, #f84c39);
				background-color: #f84c39;
				color: #fff;
				font-size: 12px;
				height: 18px;
				padding: 0 8px;
				border-radius: 2px;
				white-space: nowrap;
			}
		}
	}
}

.joe_index__ad {
	padding-top: 15px;
}

.joe_index__ad-link {
	display: block;
	position: relative;

	.image {
		width: 100%;
		height: 200px;
		-o-object-fit: cover;
		object-fit: cover;
		border-radius: var(--radius-inner);
		transition: opacity 0.35s;

		&:hover {
			opacity: 0.85;
		}
	}

	.icon {
		position: absolute;
		z-index: 1;
		top: 10px;
		right: 10px;
		font-size: 12px;
		background: rgba(0, 0, 0, 0.25);
		padding: 2px 5px;
		border-radius: 2px;
		color: #ebebeb;
		pointer-events: none;
	}
}

.joe_index__title {
	display: flex;
	align-items: center;
	margin-top: 10px;
	margin-bottom: 15px;
}

.joe_index__title-title {
	position: relative;
	display: flex;
	align-items: center;
	color: var(--routine);
	font-weight: 500;
	height: 40px;
	line-height: 40px;

	.item {
		cursor: pointer;
		margin-right: 5px;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		transition: 0.2s;
		padding-right: 8px;
		padding-left: 8px;
		line-height: 26px;
		border-radius: 20px;

		&.active {
			color: #fff;
			background: var(--theme);
		}
	}

	.line {
		position: absolute;
		bottom: -1px;
		left: 0;
		height: 2px;
		border-radius: 1px;
		background: var(--back-line-right);
		transition: left 0.35s, width 0.35s;
	}
}

.joe_index__title-notice {
	display: flex;
	align-items: center;
	margin-left: auto;

	svg {
		min-width: 20px;
		min-height: 20px;
		width: 20px;
		height: 20px;
		margin-right: 5px;
	}

	a {
		color: var(--minor);
		line-height: 20px;
		max-width: 300px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		transition: color 0.35s;

		&:hover {
			color: var(--theme);
		}
	}
}

.swiper-container {
	min-width: 0;
	flex: 1;
	height: 450px;
	--swiper-theme-color: #fff;
	border-radius: var(--radius-inner);

	.item {
		display: block;
		height: 450px;
		border-radius: var(--radius-inner);

		.thumbnail {
			width: 100%;
			height: 100%;
			-o-object-fit: cover;
			object-fit: cover;
			transition: opacity 0.35s;

			&:hover {
				opacity: 0.85;
			}
		}

		.title {
			position: absolute;
			z-index: 1;
			left: 0;
			right: 0;
			bottom: 0;
			text-align: center;
			background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45));
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			color: #fff;
			font-size: 15px;
			padding: 10px;
			font-weight: normal;
		}

		.icon {
			position: absolute;
			z-index: 1;
			top: 10px;
			left: 10px;
			width: 18px;
			height: 18px;
			fill: #fff;
			opacity: 0.5;
		}
	}

	&.swiper-container-horizontal .swiper-pagination-bullets {
		bottom: unset;
		left: unset;
		width: auto;
		right: 10px;
		top: 10px;
	}
}

.swiper-container.swiper-container-vertical .swiper-button-next,
.swiper-container.swiper-container-vertical .swiper-button-prev {
	display: none;
}

.swiper-container .swiper-button-next,
.swiper-container .swiper-button-prev {
	background: rgba(0, 0, 0, 0.1);
	transition: background 0.35s, right 0.35s, left 0.35s;
	border-radius: 2px;
}

.swiper-container .swiper-button-next:hover,
.swiper-container .swiper-button-prev:hover {
	background: rgba(0, 0, 0, 0.25);
}

.swiper-container .swiper-button-next::after,
.swiper-container .swiper-button-prev::after {
	font-size: 20px;
}

.swiper-container {
	.swiper-button-next {
		right: -27px;
	}

	.swiper-button-prev {
		left: -27px;
	}

	&:hover {
		.swiper-button-next {
			right: 10px;
		}

		.swiper-button-prev {
			left: 10px;
		}
	}
}

.Reward {
	text-align: center;
	margin-left: 30px;
	color: var(--minor);
	font-size: 12px;

	.footer_flex {
		width: 42px;
		height: 42px;
		background-color: #f56c6c;
		border-radius: 50%;
		position: relative;
		z-index: 10;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-bottom: 8px;

		&:hover {
			background-color: var(--theme);
			cursor: pointer;

			.flex_rows {
				display: block;
			}
		}

		.flex_rows {
			box-shadow: 0px 1px 4px 2px var(--theme);
			cursor: auto;
			height: 200px;
			width: 170px;
			position: absolute;
			top: -215px;
			background: var(--background);
			display: none;
			border-radius: 8px;

			&::after {
				content: "";
				position: absolute;
				bottom: -16px;
				left: 0;
				right: 0;
				margin: auto;
				width: 0px;
				border: 18px solid transparent;
				border-bottom: none;
				border-top-color: var(--background);
				filter: drop-shadow(0px 4px 2px var(--theme));
			}

			.flex-footer {
				overflow: hidden;
				margin: 10px;
				position: relative;
				width: 150px;
				height: 180px;

				.RewardImg {
					width: 900px;
					position: absolute;
					left: 0;

					li {
						float: left;
						overflow: hidden;

						img {
							width: 150px;
							border-radius: 2px;
						}
					}
				}

				.RewardBtn {
					display: inline-flex;
					border-radius: 5px;
					position: absolute;
					border: 1px solid var(--classC);
					bottom: 0px;
					left: 0;

					li {
						div {
							height: 20px;
							font-size: 12px;
							color: var(--routine);
							padding: 2px;
							border-radius: 2px;
						}

						&:nth-of-type(n + 2) {
							border-left: 1px solid var(--classC);
						}
					}

					li &:hover {
						cursor: pointer;
					}
				}
			}
		}
	}
}

.imgUpload_btn {
	margin: -10px auto 5px;
	text-align: right;

	span {
		cursor: pointer;
		margin-right: 5px;
	}
}

.top-social {
	position: relative;
	padding: 5px 0;
	width: 250px;
	display: flex;
	flex-wrap: wrap;
	background: var(--background);
	justify-content: space-around;
	margin-bottom: 15px;
	border-radius: var(--radius-wrap);
	box-shadow: var(--box-shadow);

	li {
		width: 50px;
		text-align: center;
		position: relative;
		height: 32px;

		a {
			height: 100%;
		}

		div {
			height: 100%;
		}

		img {
			height: 100%;
		}

		.WeChatInner {
			display: none;
			position: absolute;
			box-shadow: 0px 1px 4px 2px var(--theme);
			border-radius: var(--radius-wrap);
			transition: .7s all ease;
			background: var(--background);
			-webkit-transition: .7s all ease;
			top: -180px;
			left: -50px;
			transform: translate3d(0, 16px, 0);
			width: 150px;
			height: 150px;
			z-index: 2;

			&::before {
				content: "";
				position: absolute;
				bottom: -16px;
				left: 0;
				right: 0;
				margin: auto;
				display: inline-block;
				width: 0px;
				border: 18px solid transparent;
				border-bottom: none;
				border-top-color: var(--background);
				filter: drop-shadow(0px 4px 2px var(--theme));
			}

			img {
				border-radius: 2px;
				width: 140px;
				height: auto;
				margin: 5px;
				background: none;
			}
		}

		&:hover .WeChatInner {
			display: block;
		}
	}
}

.pe-social {
	width: 100%;
}

.joe_comment__respond-form .foot {
	justify-content: flex-start;

	.joe_owo__contain {
		position: static;

		.box {
			position: absolute;
			bottom: 100%;
			margin-bottom: 6px;
			left: 0px;
			padding-top: 5px;
			border: 1px solid rgba(0, 0, 0, .15);
			border-color: transparent;
			box-shadow: 0 0 10px 8px rgba(116, 116, 116, .08);
		}
	}

	.comment_box {
		cursor: pointer;
		text-align: center;
		color: var(--routine);
		height: 26px;
		line-height: 26px;
		background: var(--background);
		opacity: .85;
		border-radius: 13px;
		width: 70px;
		margin-left: 5px;

		&:hover {
			background: var(--theme);
			color: #fff;
		}

		.dropdown-menu {
			cursor: default;
			position: absolute;
			top: auto;
			bottom: 100%;
			margin-bottom: 6px;
			z-index: 10;
			display: none;
			min-width: 160px;
			padding: 5px 0;
			font-size: 14px;
			text-align: left;
			list-style: none;
			background-color: var(--background);
			color: var(--minor);
			background-clip: padding-box;
			border: 1px solid rgba(0, 0, 0, .15);
			border-color: transparent;
			border-radius: 4px;
			box-shadow: 0 0 10px 8px rgba(116, 116, 116, .08);

			.dropdown-image {
				width: 250px;
				padding: 8px 10px;

				p {
					margin: 0 0 10px;

					textarea {
						resize: vertical;
					}
				}

				.form-control {
					display: block;
					width: 100%;
					padding: 6px 12px;
					font-size: 14px;
					line-height: 1.42857143;
					border: 1px solid #ccc;
					border-radius: 4px;
					border-color: transparent;
					background: var(--classD);
					color: #4e5358;
					max-height: 200px;
					min-height: 90px;
					box-shadow: none;
					transition: border-color ease-in-out .15s, background ease-in-out .15s, box-shadow ease-in-out .15s, opacity ease-in-out .3s;
				}

				.text-right {
					text-align: right;

					.error {
						float: left;
						color: var(--theme);
						-webkit-animation: 5s ease-in-out 0s infinite normal none running shaked;
						animation: 5s ease-in-out 0s infinite normal none running shaked;
					}

					.but {
						border-radius: 4px;
						display: inline-block;
						line-height: 1.44;
						background: var(--theme);
						color: #fff;
						padding: .3em 1em;

						&:hover {
							-webkit-animation: 5s ease-in-out 0s infinite normal none running shaked;
							animation: 5s ease-in-out 0s infinite normal none running shaked;
						}
					}
				}
			}
		}
	}

	.press-down {
		background: var(--theme) !important;
		color: #fff !important;
	}
}