.postlist { counter-reset: start-from 35 }
* { box-sizing: border-box; }
/* Defaults */
:root {
	--font-family: -apple-system, system-ui, sans-serif;
	--font-family-monospace: Consolas, Menlo, Monaco, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Courier New, Courier, monospace;
}

/* 视图转换 */
@keyframes fade-in {
	from {
		opacity: 0;
	}
}

@keyframes fade-out {
	to {
		opacity: 0;
	}
}

@keyframes slide-from-right {
	from {
		transform: translateX(60px);
	}
}

@keyframes slide-to-left {
	to {
		transform: translateX(-60px);
	}
}

#skip {
	view-transition-name: skip;
}

::view-transition-old(skip) {
	animation: 90ms cubic-bezier(0.4, 0, 1, 1) both fade-out,
		300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-to-left;
}

::view-transition-new(skip) {
	animation: 210ms cubic-bezier(0, 0, 0.2, 1) 90ms both fade-in,
		300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-from-right;
}

/* Theme colors */
:root {
	--color-gray-20: #e0e0e0;
	--color-gray-50: #C0C0C0;
	--color-gray-90: #333;

	--background-color: #fff;

	--text-color: var(--color-gray-90);
	--text-color-link: #082840;
	--text-color-link-active: #5f2b48;
	--text-color-link-visited: #17050F;

	--syntax-tab-size: 2;
	--main-card-background: #fff;
	--main-card-border: #e3e8f7;
	--main-border-shadow: #2c2d300c;
	--main-color: #425aef;
}




/* Global stylesheet */
* {
	box-sizing: border-box;
	outline: none;
}

html,
body {
	padding: 0;
	margin: 0 auto;
	overflow-x: hidden;
	font-family: var(--font-family);
	color: var(--text-color);
	background-color: var(--background-color);
}

html {
	width: 100%;
	overflow-y: scroll;
}

body {
	width: 100%;
	margin: 0;
	padding: 0;
}

/* https://www.a11yproject.com/posts/how-to-hide-content/ */
.visually-hidden {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

p:last-child {
	margin-bottom: 0;
}

p {
	line-height: 1.5;
}

li {
	line-height: 1.5;
}

a[href] {
	color: var(--text-color-link);
	text-decoration: none;
}

/* a[href]:visited {
	color: var(--text-color-link-visited);
} */
a[href]:hover,
a[href]:active {
	color: var(--text-color-link-active);
}

main {
	padding: 1rem;
}

main :first-child {
	margin-top: 0;
}

header {
	border-bottom: 1px dashed var(--color-gray-20);
}

header:after {
	content: "";
	display: table;
	clear: both;
}

.links-nextprev {
	list-style: none;
	border-top: 1px dashed var(--color-gray-20);
	padding: 1em 0;
}
.links-nextprev li{
	display: flex;
	line-height: 40px;
	flex-wrap: wrap;
}
table {
	margin: 1em 0;
}

table td,
table th {
	padding-right: 1em;
}

pre,
code {
	font-family: var(--font-family-monospace);
}

pre:not([class*="language-"]) {
	margin: .5em 0;
	line-height: 1.375;
	/* 22px /16 */
	-moz-tab-size: var(--syntax-tab-size);
	-o-tab-size: var(--syntax-tab-size);
	tab-size: var(--syntax-tab-size);
	-webkit-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	direction: ltr;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
}

code {
	word-break: break-all;
}

/* Header */
header {
	display: flex;
	gap: 1em .5em;
	flex-wrap: wrap;
	align-items: center;
	padding: 1em;
}

.home-link {
	font-size: 1em;
	/* 16px /16 */
	font-weight: 700;
	margin-right: 2em;
}

/* .home-link:link:not(:hover) {
	text-decoration: none;
} */

/* Nav */
.nav {
	display: flex;
	padding: 0;
	margin: 0;
	list-style: none;
	flex-wrap: wrap;
}

.nav-item {
	display: inline-block;
	margin-right: 1em;
}

/* .nav-item a[href]:not(:hover) {
	text-decoration: none;
} */


/* Posts list */
.postlist {
	list-style: none;
	padding: 0;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.postlist-item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	counter-increment: start-from -1;
	margin-bottom: 1em;
}

.postlist-item:before {
	display: inline-block;
	pointer-events: none;
	content: "" counter(start-from, decimal-leading-zero) " ";
	line-height: 100%;
	text-align: right;
	margin-left: -0.5rem;
}

.postlist-date,
.postlist-item:before {
	font-size: 0.8125em;
	/* 13px /16 */
	color: var(--color-gray-90);
}

.postlist-date {
	word-spacing: -0.5px;
}

.postlist-link {
	font-size: 1.1875em;
	/* 19px /16 */
	font-weight: 700;
	flex-basis: calc(100% - 1.5rem);
	/* padding-left: .25em;
	padding-right: .5em; */
	/* text-decoration: none; */
	/* text-underline-position: from-font;
	text-underline-offset: 0;
	text-decoration-thickness: 1px; */
}

.postlist-item-active .postlist-link {
	font-weight: bold;
}

/* Tags */
.post-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-transform: capitalize;
	font-style: italic;
}

.postlist-item>.post-tag {
	align-self: center;
}

/* Tags list */
.post-metadata {
	display: inline-flex;
	flex-wrap: wrap;
	gap: .5em;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-direction: column;
}

.post-metadata time {
	margin-right: 1em;
}

/* Direct Links / Markdown Headers */
.header-anchor {
	/* text-decoration: none; */
	font-style: normal;
	font-size: 1em;
	margin-left: .1em;
}

a[href].header-anchor,
a[href].header-anchor:visited {
	color: transparent;
}

a[href].header-anchor:focus,
a[href].header-anchor:hover {
	text-decoration: underline;
}

a[href].header-anchor:focus,
:hover>a[href].header-anchor {
	color: #aaa;
}

h2+.header-anchor {
	font-size: 1.5em;
}

/* 自定义样式 */
.background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' viewBox='0 0 192 192'%3E%3Cpath fill='%23494849' fill-opacity='0.08' d='M192 15v2a11 11 0 0 0-11 11c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H145v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11 13 13 0 1 1 .02 26 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43a6.1 6.1 0 0 0-3.03 4.87V143h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 181 164a11 11 0 0 0 11 11v2a13 13 0 0 1-13-13 12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84a6.1 6.1 0 0 0-4.87-3.03H145v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 124 181a11 11 0 0 0-11 11h-2a13 13 0 0 1 13-13c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43a6.1 6.1 0 0 0 3.03-4.87V145h-35.02a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 107 124a11 11 0 0 0-22 0c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H49v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11A13 13 0 0 1 81 192h-2a11 11 0 0 0-11-11c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V145H11.98a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 0 1 0 177v-2a11 11 0 0 0 11-11c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H47v-35.02a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 28 109a13 13 0 1 1 0-26c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43A6.1 6.1 0 0 0 47 84.02V49H11.98a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 11 28 11 11 0 0 0 0 17v-2a13 13 0 0 1 13 13c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84A6.1 6.1 0 0 0 11.98 47H47V11.98a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 68 11 11 11 0 0 0 79 0h2a13 13 0 0 1-13 13 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43A6.1 6.1 0 0 0 49 11.98V47h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 85 68a11 11 0 0 0 22 0c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H143V11.98a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 124 13a13 13 0 0 1-13-13h2a11 11 0 0 0 11 11c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V47h35.02a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 179 28a13 13 0 0 1 13-13zM84.02 143a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 83 124a13 13 0 1 1 26 0c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84a6.1 6.1 0 0 0 4.87 3.03H143v-35.02a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 164 107a11 11 0 0 0 0-22c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V49h-35.02a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 1 1 83 68a12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84A6.1 6.1 0 0 0 84.02 49H49v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 28 85a11 11 0 0 0 0 22c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V143h35.02z'%3E%3C/path%3E%3C/svg%3E");
}

#app {
	width: 100vw;
	position: relative;
	z-index: 1;
}

#skip {
	max-width: 1400px;
	margin: 0 auto;
}

.header {
	background-color: #fff;
}

header {
	max-width: 1400px;
	margin: 0 auto;
}

.postlist-item {
	padding: 12px 24px;
	border-radius: 16px;
	background-color: #fff;
	border: 1px solid #e3e8f7;
	box-shadow: 0 8px 16px -4px #2c2d300c;
	transition: all .3s;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
}

.postlist-item:before {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	font-size: 16px;

}

.postlist-item:hover {
	border-color: #425aef;
	box-shadow: 0 8px 16px -4px #4259ef0d;
}

.postlist-item-title {
	margin-bottom: 16px;
}

.postlist-item:hover .postlist-item-title {
	color: #425aef;
}

.postlist-item:hover.postlist-item:before {
	color: #425aef;
}

.postlist-date {
	color: #363636;
	font-weight: normal;
}

.postlist-home.postlist-item:before {
	display: none;
	content: "";
}

.page {
	display: flex;
	flex-direction: column;
	text-align: center;

}

.page-url {
	display: flex;
	justify-content: center;
}

.button-item {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 40px;
	height: 40px;
	border-radius: 8px;
	overflow: hidden;
	background-color: #fff;
	border: 1px solid #e3e8f7;
	box-shadow: 0 8px 16px -4px #2c2d300c;
	transition: border-color .3s, box-shadow .3s;
	cursor: pointer;
	padding: 0 5px;
	margin: 0 6px;

}

.button-item.hover {
	color: #fff;
	border-color: #425aef;
	background-color: #425aef;
	box-shadow: 0 8px 16px -4px #4259ef0d;
}

.button-item:hover {
	border-color: #425aef;
}

.nav-item {
	position: relative;
	padding: 6px;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: auto;
	cursor: pointer;
}

.link-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: .2rem;
	padding: 0 .8rem 0 1rem;
	font-weight: 700;
	height: 35px;
	line-height: 35px;
	border-radius: 50px;
	transition: color .3s, background-color .3s;
}

.nav a[href][aria-current="page"] .link-btn,
.link-btn:hover {
	color: #fff;
	background-color: #425aef;
}

.icon {
	width: 1em;
	height: 1em;
	vertical-align: -0.15em;
	fill: currentColor;
	overflow: hidden;
}

.type-list {
	display: flex;
	flex-wrap: wrap;
	padding: 20px 0 20px;
	justify-content: center;
	flex-direction: row;
	align-items: center;
}

.type-list-item {
	list-style-type: none;
}

.type-list-link {
	font-size: 20px;
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 8px;
	padding: 6px;
	border-radius: 16px;
	background-color: var(--main-card-background);
	border: 1px solid var(--main-card-border);
	box-shadow: 0 8px 16px -4px var(--main-border-shadow);
	transition: all .3s;
	cursor: pointer;
}

.type-list-link:hover {
	transform: scale(1.05);
	background-color: var(--main-color);
}

.type-list-icon {
	margin-right: 8px;
	font-size: 20px;
	opacity: .6;
	transition: color .3s;
	color: #868686;
}

.type-list-link:hover .type-list-icon {
	color: var(--main-card-background);
}

.type-list-link:hover .type-list-name {
	color: var(--main-card-background);
}

.type-list-name {
	font-weight: 700;
	transition: color .3s;
}

.type-list-count {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	padding: 6px 4px;
	margin-left: 8px;
	min-width: 35px;
	border-radius: 8px;
	background-color: var(--main-card-border);
}

.link-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 10px;
	padding: 20px 0 20px;
}

.link-list-item {
	list-style-type: none;
}

.link-list-link {

	margin: 6px 6px;
	transition: .3s;
	border-radius: 12px;
	transition-timing-function: ease-in-out;
	position: relative;
	padding: 15px;
	background-color: #fff;
	border: 1px solid #e3e8f7;
	box-shadow: 0 8px 16px -4px #2c2d300c;
	display: flex;

	align-items: center;
}

.link-list-link:hover {
	border-color: #425aef;
}

.link-list-img {
	border-radius: 32px;
	margin-right: 20px;
	transition: .3s;
	background: var(--color-gray-50);
	width: 60px;
	height: 60px;
}

.link-list-info {
	display: flex;
	flex-direction: column;
	justify-content: center;

	height: fit-content;
}

.link-list-name {
	font-size: 19px;
	line-height: 20px;
	display: block;
	font-weight: 700;
}

.link-list-description {

	color: var(--color-gray-50);
	text-align: left;

	opacity: .7;
	display: inline-block;

}
.category-btom{
	display: flex;
	line-height: 40px;
	flex-wrap: wrap;
}
.blog-a{
	text-decoration: underline !important;
}