    .avater {
        text-align: center;
    }

    .avater img {
        width: 100px;
        height: 100px;
    }

    :root {
        /* 日间配色（默认） */
        --page-bg: #ffffff;
        --text-color: #212121;
        --code-bg: #f6f8fa;
        --code-text: #24292e;
        --code-border: rgba(18, 18, 28, .15);
        --card-bg: rgba(255, 255, 255, .85);
        --card-bg-hover: rgba(255, 255, 255, .95);
        --card-text: #212121;
        --banner-bg: #eef0f2;
        --border-color: rgba(18, 18, 28, .12);
        --left-border: #000000;
    }

    html[data-theme="dark"] {
        /* 夜间配色 */
        --page-bg: #12121c;
        --text-color: #e6e6e6;
        --code-bg: #12121c;
        --code-text: #e6e6e6;
        --code-border: rgba(238, 239, 241, .12);
        --card-bg: rgba(0, 0, 0, .4);
        --card-bg-hover: rgba(0, 0, 0, .6);
        --card-text: #ffffff;
        --banner-bg: #12121c;
        --border-color: rgba(238, 239, 241, .12);
        --left-border: rgba(238, 239, 241, .3);
    }

    html {
        background: var(--page-bg);
    }

    body, html {
        width: 99%;
        height: 100%;
    }

    body {
        /* body 保持透明，避免盖住 z-index:-1 的粒子层；页面底色由 html 承担（html 的背景不能被覆盖） */
        background: transparent;
        color: var(--text-color);
    }

    /* 左侧栏链接/标题跟随主题文字色 */
    .left a,
    .left .titlename {
        color: var(--text-color);
    }

    .left {
        width: 35%;
        float: left;
        height: 100%;
        padding-top: 10%;
        position: fixed;
        text-align: center;
        border-right: 2px solid var(--left-border);
    }

    .titlename {
        font-family: STXingkai, serif;
        padding-top: 2%;
        font-size: 1.5rem;
    }
    .title {
        font-family: STXingkai, serif;
    }

    .ICP {
        font-family: SimSun, serif;
        line-height: 2rem;
        font-size: 1.2rem;
    }

    #right {
        float: right;
        width: 60%;
        height: 100%;
        text-align: center;
    }

    .right_inner {
        padding-right: 5%;
        max-width: 1000px;
    }

    .self_h2 {
        font-family: STXingkai, serif;
        display: block;
        font-size: 1.5em;
        margin-block-start: 0.83em;
        margin-block-end: 0.83em;
        margin-inline-start: 0;
        margin-inline-end: 0;
        font-weight: bold;
    }

    .self_h4 {
        font-family: STXingkai, serif;
        display: block;
        font-size: 1.17em;
        margin-block-start: 1em;
        margin-block-end: 1em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
    }

    #back-to-top {
        position: fixed;
        right: 32px;
        bottom: 32px;
        z-index: 999;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(238, 239, 241, .25);
        border-radius: 50%;
        background-color: rgba(18, 18, 28, .85);
        color: #FFFFFF;
        font-size: 20px;
        line-height: 42px;
        text-align: center;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        -webkit-transition: opacity .25s, visibility .25s, background-color .25s, border-color .25s;
        transition: opacity .25s, visibility .25s, background-color .25s, border-color .25s;
    }

    #back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
    }

    #back-to-top:hover {
        background-color: #12121c;
        border-color: rgba(238, 239, 241, .6);
        color: #FFFFFF;
    }

    @media (max-width: 768px) {
        #back-to-top {
            right: 18px;
            bottom: 18px;
        }
    }

    canvas {
        display: block;
        vertical-align: bottom;
    }

    .particles-js-canvas-el {
        width: 100%;
        height: 100%;
    }

    .particles-js {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        position: fixed;
        top: 0;
        left: 0;
        /* 必须压到内容层之下：fixed 定位元素默认盖在普通流之上，否则会挡住正文的选中、点击与横向滚动 */
        z-index: -1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 文章正文排版：代码块、表格横向滚动、图片自适应 */
    .con_article pre {
        background: var(--code-bg);
        color: var(--code-text);
        border: 1px solid var(--code-border);
        border-radius: 5px;
        padding: 16px 18px;
        margin: 18px 0;
        overflow-x: auto;
        font-family: Consolas, Monaco, Menlo, "Courier New", monospace;
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
        white-space: pre;
        -webkit-overflow-scrolling: touch;
    }

    /* highlight.js 主题自带背景色，这里覆盖成站点配色变量，保证代码块风格统一 */
    .con_article pre,
    .con_article pre code.hljs {
        background: var(--code-bg);
    }

    .con_article pre code {
        background: transparent;
        border: 0;
        padding: 0;
        color: inherit;
        font-family: inherit;
        font-size: inherit;
        white-space: pre;
    }

    .con_article code {
        background: rgba(18, 18, 28, .08);
        border: 1px solid rgba(18, 18, 28, .12);
        border-radius: 3px;
        padding: 2px 5px;
        font-family: Consolas, Monaco, Menlo, "Courier New", monospace;
        font-size: .9em;
    }

    .con_article table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        border-collapse: collapse;
        -webkit-overflow-scrolling: touch;
    }

    .con_article img {
        max-width: 100%;
        height: auto;
    }

    .con_article blockquote {
        margin: 18px 0;
        padding: 8px 16px;
        border-left: 4px solid rgba(18, 18, 28, .35);
        background: rgba(18, 18, 28, .05);
    }

    /* 左侧栏日夜切换按钮 */
    #theme-toggle {
        display: inline-block;
        width: 42px;
        height: 42px;
        margin-top: 2.5rem;
        line-height: 40px;
        border-radius: 50%;
        border: 1px solid var(--border-color);
        background: transparent;
        color: var(--text-color);
        font-size: 18px;
        cursor: pointer;
        -webkit-transition: background-color .25s, color .25s, border-color .25s;
        transition: background-color .25s, color .25s, border-color .25s;
    }

    #theme-toggle:hover {
        background: var(--card-bg);
    }

    /* 详情页上一条/下一条导航：小字号，长标题省略号截断 */
    .post-nav {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        padding: 30px 0;
        border-top: 1px solid var(--border-color);
        font-size: 13px;
        line-height: 1.5;
    }

    .post-nav a,
    .post-nav span {
        display: block;
        max-width: 320px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: var(--text-color);
        opacity: .8;
        text-decoration: none;
    }

    .post-nav a:hover {
        opacity: 1;
    }

    .post-nav span {
        opacity: .45;
        cursor: default;
    }