:root {
    --text: #213547;
    --muted: #667085;
    --border: #e5e7eb;
    --light: #888888;
    --bg: #fff;
    --brand: #2563eb;
    --font: "PingFang SC", "Microsoft Yahei", system-ui, sans-serif;
    --max-w: 900px;
    --pad-x: 1.25rem;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--brand);
}

.shell {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

.container {
    padding: 1.5rem 0 3rem;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.brand img {
    border-radius: 6px;
}

.site-header nav {
    display: flex;
    gap: 1rem;
}

.site-header nav a[aria-current="page"] {
    color: var(--brand);
}

.post-list {
    border-bottom: 1px dashed var(--border);
    padding: 1rem 0;
}

.post-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0.1rem 0;
}

.describe {
    color: var(--muted);
    margin: 0.6rem 0;
}

.post-info {
    font-size: 0.75rem;
    color: var(--muted);
}

.post-info a,
.post-info span {
    display: inline-block;
    padding: 0 8px;
    background: #f5f5f5;
    margin: 0 0 0 8px;
    border-radius: 2px;
    color: var(--text);
}

.post header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
}

.post h1 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.5rem;
}

.content {
    font-size: 0.975rem;
}

.content>h1:first-child {
    display: none;
}

.content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    /* padding-bottom: 0.4rem; */
    /* border-bottom: 1px solid var(--border); */
}

.content h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.4rem;
}

.content p {
    margin: 0.85rem 0;
}

.content ul,
.content ol {
    margin: 0.85rem 0;
    padding-left: 1.4rem;
}

.content li {
    margin: 0.3rem 0;
}

.content blockquote {
    color: var(--muted);
    margin: 1.25rem 0;
    padding: 0.2rem 0 0.2rem 1rem;
    border-left: 3px solid var(--border);
}

.content hr {
    border: none;
    height: 1px;
    margin: 2.25rem 0;
    background: var(--border);
}

.content a {
    color: var(--brand);
    border-bottom: 1px solid var(--brand);
}

.content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.25rem 0;
}

.content code {
    font-size: 0.875em;
    background: #f5f5f5;
    padding: 0.15em 0.4em;
    border-radius: 3px;
}

.content pre {
    overflow: auto;
    padding: 1rem;
    background: #f6f8fa;
    border-radius: 6px;
    margin: 1.25rem 0;
}

.content pre code {
    background: none;
    padding: 0;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.9rem;
}

.content th,
.content td {
    border: 1px solid var(--border);
    padding: 0.45rem 0.7rem;
    text-align: left;
}

.content th {
    background: #f8f8f8;
    font-weight: 600;
}

.posts {
    padding: 4px 0 4px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.post-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 10px;
    margin-bottom: 3px;
    border-radius: 50%;
    background: var(--brand);
}

.date {
    color: var(--muted);
    font-family: Georgia, serif;
    white-space: nowrap;
}

.year,
.category,
.tag-header {
    padding: 28px 0 10px;
    font-size: 1.375rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1rem 0;
}

.tag {
    display: inline-block;
    padding: 0 16px 4px;
    background: #f5f5f5;
    border-radius: 2px;
}

.tag sup {
    color: var(--brand);
    font-weight: 700;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.site-footer {
    color: var(--light);
    text-align: center;
    font-size: 0.75rem;
    padding: 1rem 0 2rem;
}

.site-footer a {
    font-weight: 700;
    color: var(--text);
}

.site-footer .built-by {
    color: var(--light);
}
