/* 来自 https://github.com/MeOrange/MeOrange.github.io */

/* Please ❤ this if you like it! */

/* #Progress
================================================== */

.progress-wrap {
	position: fixed;
	right: 50px;
	bottom: 45px;
	height: 45px;
	width: 45px;
	cursor: pointer;
	display: block;
	border-radius: 50px;
	box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2);
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
}
.progress-wrap.active-progress {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.progress-wrap::after {
	position: absolute;
	font-family: 'unicons';
	content: '\e84b';
	text-align: center;
	line-height: 46px;
	font-size: 24px;
	color: #333;
	left: 0;
	top: 0;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	z-index: 1;
}
.progress-wrap:hover::after {
	opacity: 0;
}
.progress-wrap::before {
	position: absolute;
	font-family: 'unicons';
	content: '\e84b';
	text-align: center;
	line-height: 46px;
	font-size: 24px;
	opacity: 0;
	background-image: linear-gradient(298deg, #4f7dde, #4f7dde);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	left: 0;
	top: 0;
	height: 45px;
	width: 45px;
	cursor: pointer;
	display: block;
	z-index: 2;
}
.progress-wrap:hover::before {
	opacity: 1;
}
.progress-wrap svg path {
	fill: none;
}
.progress-wrap svg.progress-circle path {
	stroke: #333;
	stroke-width: 4;
	box-sizing: border-box;
}

/* Dark mode overrides */
html[data-theme='dark'] .progress-wrap {
	box-shadow: inset 0 0 0 2px rgba(245, 245, 245, 0.2);
}
html[data-theme='dark'] .progress-wrap::after {
	color: #4f7dde;
}
html[data-theme='dark'] .progress-wrap svg.progress-circle path {
	stroke: #4f7dde;
}
