/* *************************** 友人文章 *************************** */

/* .home #nav {
	z-index: 0;
} */

.home #footer {
	z-index: -1;
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: hsl(var(--wh-red), var(--wh-yellow), var(--wh-blue), .9);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease-in-out,visibility .3s ease-in-out
}

.home .modal {
	top: calc(-100vh + var(--home-layout-height) + var(--footer-height));
}

.modal-open {
	opacity: 1;
	visibility: visible
}

.modal-content {
	opacity: 0;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%) translateY(-50px);
	width: 350px;
	background-color: hsl(var(--wh-red), var(--wh-yellow), var(--wh-blue), 1);
	padding: 20px;
	border: 1px solid hsl(var(--bl-red), var(--bl-yellow), var(--bl-blue), .03);
	box-shadow: 0 .2rem 1rem 0 hsl(0deg 0% 15% / 4%);
	z-index: 1000;
	max-height: 90%;
	overflow: hidden;
	border-radius: 20px;
	transition: transform .3s ease-in-out,opacity .3s ease-in-out
}

.modal.modal-open .modal-content {
	transform: translate(-50%,-50%) translateY(0);
	opacity: 1
}

.modal-content:hover #modal-bg {
	transform: scale(1.1)
}

@media screen and (max-width:440px) {
	.modal-content {
		width: 80%
	}
}

#modal-bg {
	display: none;
	position: absolute;
	filter: blur(5px);
	opacity: .2;
	z-index: 0;
	border-radius: 125px 125px 12px 125px!important;
	margin: 0!important;
	width: 250px;
	height: 250px;
	right: -20px;
	bottom: -20px;
	transition: transform .6s ease!important
}

#modal-author-avatar {
	display: block;
	margin: 5px auto!important;
	border-radius: 50%!important;
	width: 110px;
	height: 110px
}

#modal-author-name-link {
	display: block;
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	margin: 15px 0;
	color: var(--glmp-font-Color);
	text-decoration: none
}

/* #modal-author-name-link:hover {
	text-decoration: underline
} */

.modal-content hr {
	margin: 20px 0
}

#modal-articles-container {
	position: relative;
	z-index: 1;
	border-top: var(--hover-color) double 2px;
	margin-top: 20px;
	padding-top: 10px
}

.modal-article {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 5px;
	padding-top: 15px;
	border-top: hsl(var(--bl-red), var(--bl-yellow), var(--bl-blue), .2) dashed 1px;
}

.modal-article .modal-article-title {
	color: var(--glmp-font-Color);
	font-size: 14px;
	font-weight: bold;
	line-height: 1.5;
	cursor: pointer;
	max-height: 3em;
	width: 100%;
	margin-bottom: 5px;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis
}

.modal-article .modal-article-title:hover {
	color: var(--hover-color);
	/* text-decoration: underline */
}

.modal-article .modal-article-date {
	font-size: 10px;
	width: 100%;
	color: var(--glmp-font-Color);
	padding: 5px;
	cursor: default;
	text-align: right
}

.modal-article .modal-article-date span {
	background: var(--glmp-footerbg);
	padding: 5px 10px;
	border-radius: 8px;
}

.card-title:hover {
	color: var(--gimp-font-title) !important;
	/* text-decoration: underline */
}

.card-author {
	cursor: pointer;
}

.link .card-author {
	background-color: var(--background-color);
	border: 1px solid var(--border-color);
	border-radius: 15px;
	display: flex;
	padding-right: 10px;
	width: fit-content;
	align-items: center;
	transition: box-shadow .2s
}

#load-more-btn {
	color: var(--glmp-font-title);
	font-size: 14px;
	font-weight: bold;
	background-color: hsl(var(--red), var(--yellow), var(--blue), .1);
	cursor: pointer;
	width: 200px;
	border-radius: 8px;
	/* border: 1px solid var(--border-color); */
	padding: 8px;
	transition: all .3s;
	margin: 25px auto 0px;
	display: block
}

#load-more-btn:hover {
	/* background-color: var(--glmp-font-title);
	width: 300px;
	color: #fff */
	-webkit-text-stroke: 1px hsl(var(--red), var(--yellow), var(--blue), 1);
}

#stats-container {
	font-size: 13px;
	/* text-align: right; */
	margin-top: 20px
}

#stats-container>* {
	margin-bottom: 3px
}

#stats-container a {
	color: var(--author-color);
	text-decoration: none
}