
.theme-0 {
	/* 主题颜色 */
	--t-c1: 40, 158, 214;
	--t-c2: 104, 237, 255;
	--t-c3: 45, 189, 255;

	/* 文本颜色 */
	--t-t1: 244, 243, 241;

	/* 背景颜色 */
	--t-b1: 60, 60, 60;
	--t-b2: 0, 0, 0;
	--t-b3: 40, 40, 40;
	--t-b4: 220, 220, 220;
	--t-b5: 180, 180, 180;
	--t-b6: 255, 255, 255;

	--t-r: 255, 0, 20;
	--t-g: 0, 200, 100;
}

.theme-1 {
	/* 主题颜色 */
	--t-c1: 40, 158, 214;
	--t-c2: 104, 237, 255;
	--t-c3: 45, 189, 255;

	/* 文本颜色 */
	--t-t1: 100, 102, 102;

	/* 背景颜色 */
	--t-b1: 255, 255, 255;
	--t-b2: 0, 0, 0;
	--t-b3: 244, 243, 241;
	--t-b4: 40, 40, 40;
	--t-b5: 180, 180, 180;
	--t-b6: 255, 255, 255;

	--t-r: 255, 0, 20;
	--t-g: 0, 200, 100;
}

@font-face {
	font-family: Poppins Regular;
	src: url('../src/font/Poppins Regular.woff2');
}
@font-face {
	font-family: icomoon;
	src: url('../src/font/icomoon.woff2');
}
::selection {
	background: rgba(var(--t-c3), 0.2);
}
::-webkit-scrollbar {
	width: 12px;
	height: 12px;
	background-color: transparent;
}
::-webkit-scrollbar-track {
	background-color: transparent;
	box-shadow: none;
}
::-webkit-scrollbar-thumb {
	background-color: rgba(var(--t-b2), 0.1);
	border-radius: 100px;
	border: 4px solid transparent;
	background-clip: content-box;
	box-shadow: none;
}
::-webkit-scrollbar-thumb:hover {
	background-color: rgba(var(--t-b2), 0.2);
}
::-webkit-scrollbar-corner {
	background-color: transparent;
	box-shadow: none;
}



html {
	position: fixed;
	height: 100%;
	width: 100%;
}

body {
	font-family: 'Poppins Regular', 'icomoon', 'Microsoft YaHei';
	overflow: overlay;
	margin: 0;
	line-height: 30px;

	height: 100%;
	width: 100%;
	min-width: 380px;
}

img,
a {
	user-select: none;
	text-decoration: none;
	-webkit-user-drag: none;
}

header {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 10;
	font-size: 22px;
	color: rgba(var(--t-t1), 0.1);
	transition: 0.3s;
	user-select: none;
}

header btn {
	display: inline-block;
	vertical-align: middle;
	width: 34px;
	height: 28px;
	border-radius: 100%;
	padding: 8px 5px;
	font-size: 34px;
	line-height: 28px;
	cursor: pointer;
	user-select: none;
	backdrop-filter: blur(3px);
	transition: 0.3s;
}

.backdrop,
backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.f-1 {
	user-select: none;
	pointer-events: none;
}



.main {
	width: 100%;
	height: 100%;
	background-color: rgba(var(--t-b1), 1);
}

.main header a {
	padding: 0px 10px;
	cursor: pointer;
	transition: 0.3s;
	color: rgba(var(--t-t1), 0.4);
}

.main header a:hover {
	color: rgba(var(--t-c1), 1);
}

.main header backdrop {
	background-color: rgba(var(--t-b2), 0.6);
}

.main header btn {
	color: rgba(var(--t-t1), 0.3);
}

.main header btn:hover {
	color: rgba(var(--t-t1), 0.6);
}



.main .loading {
	z-index: 50;
	background-color: rgba(var(--t-b1), 1);
}

.main .loading i {
	position: fixed;
	bottom: 20px;
	right: 30px;
	font-size: 24px;
	color: rgba(var(--t-t1), 0.8);
}



.main footer {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 5;
	height: 40px;
	width: 100%;
	background-color: rgba(var(--t-b3), 1);
	background-image: linear-gradient(90deg, rgba(var(--t-b3), 1) 0%, rgba(var(--t-b1), 1) 70%);
	mask-image: linear-gradient(90deg, rgba(var(--t-b3), 1) 0%, rgba(var(--t-b3), 0) 70%);
	-webkit-mask-image: linear-gradient(90deg, rgba(var(--t-b3), 1) 0%, rgba(var(--t-b3), 0) 70%);
	color: rgba(var(--t-t1), 0.4);
	user-select: none;
	line-height: 22px;
}

.main footer div {
	display: inline-block;
	height: 20px;
	padding: 10px 0px 10px 20px;
	user-select: text;
	color: rgba(var(--t-t1), 0.6);
	transition: 0.3s;
}

.main footer a {
	color: rgba(var(--t-c1), 0.6);
	text-decoration: underline;
	cursor: help;
	transition: 0.1s;
}

.main .blog {
	position: fixed;
	z-index: 20;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(var(--t-b1), 1);
}

.main .blog iframe {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	border: 0;
	user-select: none;
}

.main .blog backdrop {
	background-color: rgba(var(--t-b1), 1);
}

.main .blog backdrop::before {
	position: fixed;
	bottom: 20px;
	left: 10px;
	content:attr(data-timer);
	font-size: 120px;
	line-height: 120px;
	color: rgba(var(--t-t1), 0.1);

	white-space: nowrap;
	writing-mode: vertical-rl;
	user-select: none;
}



.main .avatar {
	position: fixed;
	top: 10%;
	right: 100px;
	z-index: 0;
	height: 80%;
	aspect-ratio: 1 / 1;
	pointer-events: none;
	filter: opacity(0.8);
}

.main .des {
	position: absolute;
	width: 550px;
	top: calc(20% + 50px);
	left: 260px;
	z-index: 5;
	color: rgba(var(--t-t1), 0.8);
	white-space: nowrap;
	font-size: 60px;
	font-weight: bolder;
	line-height: 36px;
}

.main .des span:nth-child(1) {
	line-height: 70px;
	background-image: linear-gradient(62deg, rgba(var(--t-c1), 0.9), rgba(var(--t-c2), 0.8));
	color: transparent;
	-webkit-background-clip: text;
}

.main .des span:nth-child(2) {
	display: block;
	margin-top: 25px;
	width: 450px;
	color: rgba(var(--t-t1), 0.5);
	white-space: break-spaces;
	word-break: break-all;
	font-size: 20px;
	font-weight: normal;
}

.main .des a {
	display: inline-block;
	margin-right: 10px;
	padding: 0px 10px;
	color: rgba(var(--t-b5), 1);
	background-color: rgba(var(--t-b1), 0.8);
	box-sizing: border-box;
	border: 2px dashed rgba(var(--t-b5), 1);
	font-size: 20px;
	font-weight: normal;
	border-radius: 8px;
	user-select: none;
	cursor: pointer;
	transition: 0.3s;
}

.main .des a:hover {
	color: rgba(var(--t-b1), 0.8);
	background-color: rgba(var(--t-b5), 1);
}






/* 菜单 */

.menu {
	position: fixed;
	left: -330px;
	width: 250px;
	height: 100%;
	padding: 0px 40px;
	z-index: 15;
	background-color: rgba(var(--t-b3), 1);
	overflow: scroll;
	transition: 0.3s ease-out;
}

.menu::-webkit-scrollbar {
	display: none;
}

.menu-active {
	left: 0px;
}

.menu h1 {
	margin: 30px 0 15px 0;
	font-size: 35px;
	font-weight: normal;
	color: rgba(var(--t-t1), 0.8);
}

.menu hr {
	margin: 0;
	width: 230px;
	border: none;
	border-top: 1px solid rgba(var(--t-t1), 0.2);
}

.menu btn {
	display: inline-block;
	margin-left: -25px;
	font-size: 18px;
	color: rgba(var(--t-t1), 0.8);
	user-select: none;
	cursor: pointer;
}

.menu btn::before {
	content: '';
	display: inline-block;
	height: 14px;
	width: 16px;
	padding: 6px 5px;
	color: rgba(var(--t-c1), 0.4);
	font-size: 15px;
	line-height: 16px;
	transition: 0.3s;
}

.menu .active::before {
	transform: rotate(90deg);
}

.menu .menu-c2 {
	height: 70px;
	width: 230px;
	font-size: 16px;
	line-height: 24px;
	color: rgba(var(--t-t1), 0.4);
	transition: all 0.3s ease-out 0s;
}

.menu .menu-c3 {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	height: 150px;
	overflow: hidden;
	transition: all 0.3s ease-out 0s;
}

.menu .menu-c3 a {
	display: inline-block;
	height: 60px;
	width: 60px;
	margin-top: 5px;
	margin-right: 5px;
	font-size: 30px;
	line-height: 61px;
	text-align: center;
	color: rgba(var(--t-b4), 0.4);
	background-color: rgba(var(--t-b4), 0.05);
	border-radius: 5px;
	user-select: none;
	white-space: nowrap;
	cursor: pointer;
	transition: 0.3s;
}

.menu .menu-c3 a:hover {
	background-color: rgba(var(--t-b4), 0.1);
}



/* 搜索栏 */

.menu .search {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	overflow: hidden;
	transition: 0.3s ease-out 0s;
}

.menu btn[data-item]::after {
	content: attr(data-item) ' items';
	font-size: 18px;
	margin-left: 8px;
	color: rgba(var(--t-t1), 0.3);
}

.menu .search textarea {
	width: 210px;
	height: 15px;
	padding: 5px 5px;
	outline: none;
	resize: none;
	border-radius: 5px;
	font-size: 16px;
	line-height: 16px;
	font-family: 'Poppins Regular', 'Microsoft YaHei';
	color: rgba(var(--t-t1), 0.8);
	background-color: rgba(var(--t-b1), 0.6);
	border: 1px solid rgba(var(--t-t1), 0.2);
	transition: 0.3s ease;
	overflow: hidden;
}

.menu .search textarea:hover,
.menu .search textarea:focus {
	border: 1px solid rgba(var(--t-t1), 0.6);
}

.menu .search list {
	display: block;
	margin-top: 8px;
	height: 175px;
	width: 222px;
	overflow: scroll;
}

.menu .search list div {
	color: rgba(var(--t-t1), 0.6);
	height: 22px;
	line-height: 22px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.menu .search list div a {
	color: rgba(var(--t-t1), 0.4);
	font-size: 16px;
	cursor: pointer;
	transition: 0.3s ease;
}

.menu .search list div a:hover {
	color: rgba(var(--t-c1), 0.6);
}

.menu .search list div::before {
	content:attr(data-icon);
	margin-right: 5px;
}

.menu .search list .pin::after {
	float: right;
	margin-right: 5px;
	content: '';
	color: rgba(var(--t-t1), 0.2);
	font-size: 14px;
}

.menu .search list key {
	text-decoration: underline; 
	color: rgba(var(--t-c1), 0.6);
}

.menu .search list .none {
	cursor: text;
	user-select: auto;
}

.menu .search list::-webkit-scrollbar {
	width: 2px !important;
	height: 0px !important;
}

.menu .search list::-webkit-scrollbar-thumb {
	background-clip: unset !important;
}





/* 提示窗 */

.prompt {
	position: fixed;
	top: 20px;
	right: -340px;
	width: 320px;
	z-index: 40;
}

.prompt prompt {
	display: block;
	float: right;
	padding: 10px 50px 10px 10px;
	margin-bottom: 10px;
	max-width: 320px;
	font-size: 16px;
	line-height: 24px;
	color: rgba(var(--t-t1), 0.6);
	background-color: rgba(var(--t-b1), 0.8);
	backdrop-filter: blur(10px);
	box-sizing: border-box;
	border: 1px solid rgba(var(--t-t1), 0.2);
	border-radius: 10px;
	box-shadow: rgba(var(--t-b2), 0.05) 10px 10px 20px -3px;
	pointer-events: none;
	white-space: pre-wrap;
	word-wrap: break-word;
	transition: 0.5s;
	transform: translateX(0px);
	overflow: hidden;
}

.prompt .active {
	transform: translateX(-360px);
}

.prompt prompt * {
	pointer-events: auto;
}

.prompt prompt::after {
	position: absolute;
	content: '';
	height: 30px;
	width: 30px;
	top: calc(50% - 15px);
	right: 10px;
	text-align: center;
	line-height: 30px;
	color: rgba(var(--t-r), 0.4);
	font-size: 24px;
	pointer-events: auto !important;
	cursor: pointer;
	transition: 0.3s;
}

.prompt prompt:hover::after {
	color: rgba(var(--t-r), 0.6);
}

.prompt prompt a {
	color: rgba(var(--t-c1), 0.6);
	cursor: pointer;
	transition: 0.3s;
}

.prompt prompt a:hover {
	color: rgba(var(--t-c1), 0.8);
}



/* 响应式设计 */

/* PC */
@media (orientation: landscape) {
	.f-3 {
		display: none !important;
	}
}

@media (orientation: landscape) and (max-width: 1200px) and (min-width: 900px) {
	.main .des {
		top: 20%;
		left: 5%;
	}
	.main .avatar {
		right: 0;
	}
}

@media (orientation: landscape) and (max-width: 900px) and (min-width: 500px) {
	.main .des {
		font-size: 40px;
		top: 20%;
		left: 5%;
	}
	.main .des span:nth-child(2) {
		font-size: 16px;
		line-height: 26px;
		width: 300px;
	}
	.main .avatar {
		right: 5%;
	}
}

/* phone */
@media (orientation: portrait) {
	.main .des span:nth-child(2),
	.main .des span:nth-child(3),
	.f-2 {
		display: none !important;
	}
	.main .des {
		position: fixed;
		top: unset;
		width: 80%;
		bottom: 80px;
		left: 10%;
		text-align: right;
		border-left: none;
		font-size: 30px;
		line-height: 30px;
	}
	.main .des a {
        margin-left: 10px;
        margin-right: 5px;
	}
	.main header a {
		text-shadow: 
			0 0 2px rgba(var(--t-b1), 1),
			0 0 2px rgba(var(--t-b1), 1),
			0 0 2px rgba(var(--t-b1), 1),
			0 0 2px rgba(var(--t-b1), 1);
	}
	.main .header-box {
		width: calc(100% - 40px);
		height: 42px;
		left: 15px;
		top: 0;
		padding: 20px 5px 15px 5px;
		background-color: rgba(var(--t-b1), 1);
		border-bottom: 1px solid rgba(var(--t-t1), 0.08);
	}
	.menu {
		padding-right: 30px;
	}
	.main .avatar {
		height: 60%;
		right: -10%;
	}
}



/* 夜间模式 */

.theme-0 .avatar {
	filter: invert(1);
}

.theme-0 .menu btn::before {
	color: rgba(var(--t-c1), 0.6);
}

.theme-0 .menu .search list div a:hover,
.theme-0 .menu .search list key,
.theme-0 .main footer a {
	color: rgba(var(--t-c2), 0.6);
}



/* firefox */
@-moz-document url-prefix() {
	body {
		scrollbar-width: none;
	}
}