    html {
    overflow: auto;
    }

    img {
    max-width: 100%;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    margin-bottom: 1%;
    }

    @media (min-width: 550px) {
    /*
    Side by side gallery
    use with </> alignment
    e.g.
    [_gallery >](imgages/test.jpg)
    */
    img[alt~="_gallery"] {
        max-width: 49.5%;
    }

    /* Aligned to the right */
    img[alt$=">"] {
        float: right;
    }

    /* Aligned to the left */
    img[alt$="<"] {
        float: left;
    }

    /* Centered image */
    img[alt$="><"] {
        display: block;
        margin: auto;
        float: none !important;
    }
    }

    /* 表格容器 */
    .article table {
        border-collapse: collapse;
        text-align: center;
        display: block;
        overflow-x: auto;
        width: fit-content;
        max-width: 100%;
        margin: 1em auto;
    }
    
    /* 如果上面的选择器不够具体，使用更通用的选择器 */
    table {
        border-collapse: collapse;
        text-align: center;
        display: block;
        overflow-x: auto;
        width: fit-content;
        max-width: 100%;
        margin: 1em auto;
      }
      
      /* 表格主体样式 */
      table thead, table tbody {
        display: table-header-group;
        width: 100%;
        margin: 0 auto; /* 确保表格内容居中 */
      }
      
      table tbody {
        display: table-row-group;
      }
      
      /* 内部表格结构 */
      table thead tr, table tbody tr {
        display: table-row;
        width: 100%;
      }
      
      /* 论文三线表风格 */
        table th, table td {
            border: 1px solid #000;
            padding: 2px 2px;
            font-family: 'Times New Roman', 'Noto Serif SC', serif;
            white-space: nowrap; /* 防止单元格内容换行 */
            display: table-cell; /* 确保单元格正确显示 */
            min-width: 80px; /* 设置最小列宽 */
        }
        table th{
            border-top: 3px solid #000;
            border-bottom: 2px solid #000;
            /* 去除所有竖直方向的边框线 */
            border-left: none;
            border-right: none;
        }
        table td {
            /* 去除所有边框线 */
            border: none;
        }
        /* 设置最后一个tr底部粗实线 */
        table tr:last-child td {
            border-bottom: 2px solid #000;
        }


    .center {
    text-align: center;
    }

    .left {
        display: flex; /* 设置容器为flex布局 */
        flex-wrap: wrap;
        justify-content: flex-start; /* 将子项目向左对齐 */
    }
    /* 右对齐 */
    .right {
        display: flex; /* 设置容器为flex布局 */
        flex-wrap: wrap;
        justify-content: flex-end; /* 将子项目向右对齐 */
    }

    .lit {
    font-family: 'Inter';
    font-size: 1.5rem;
    font-weight: 300;
    }

    .little-svg {
    fill: #fff;
    }

    .ml-0 {
    margin-left: 0.7rem;
    }

    .ml {
    margin-right: 1rem;
    margin-left: 1rem;
    }

    .ml-1 {
    margin-left: 5rem;
    }

    .bottom {

    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-bottom: 0px;
    }
    .info {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    width: fit-content;
    padding: 0;
    }
    .site-title {
        font-family: 'Times New Roman','Noto Serif SC', sans-serif;  
        font-size: 4rem;
        font-weight: 300;
    }
    .about_brief {
        font-family: 'Times New Roman','Noto Serif SC' sans-serif; 
        font-size: 1.6rem;
        font-weight: 300;
    }

        .photo-map-section {
            position: relative;
            display: grid;
            grid-template-rows: auto auto;
        }

        .photo-map {
            width: 100%;
            height: 420px;
            border: 1px solid #d8d5cc;
            border-radius: 6px;
            background: #f2f2f2;
            margin: 10px 0 0px;
            position: relative;
            overflow: hidden;
        }

        .photo-map-pane {
            grid-row: 1;
            grid-column: 1;
            opacity: 0;
            transform: none;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.52s cubic-bezier(0.65, 0, 0.35, 1),
                visibility 0s linear 0.52s;
            will-change: opacity;
        }

        .photo-map-pane.is-active {
            opacity: 1;
            transform: none;
            visibility: visible;
            pointer-events: auto;
            transition: opacity 0.52s cubic-bezier(0.65, 0, 0.35, 1),
                visibility 0s linear 0s;
        }

        .photo-map .datamaps-bubbles,
        .photo-map .bubbles {
            pointer-events: all;
        }

        .photo-map .datamaps-bubble,
        .photo-map .bubble {
            pointer-events: all;
            cursor: pointer;
        }

        .photo-map-github-arrow {
            pointer-events: none;
        }

        .photo-map-github-arrow-line {
            stroke: #2ea043;
            stroke-width: 2;
            stroke-linecap: round;
            filter: drop-shadow(0 0 1px rgba(46, 160, 67, 0.45));
        }

        .photo-map-github-arrow-head {
            fill: #2ea043;
        }

        .photo-map-github-arrow-label {
            fill: #1f6f33;
            font-size: 12px;
            font-weight: 600;
            font-family: "Avenir Next", "Segoe UI", sans-serif;
            paint-order: stroke;
            stroke: #ffffff;
            stroke-width: 2;
            stroke-linejoin: round;
        }

        .photo-map-controls {
            display: flex;
            gap: 8px;
            margin: 6px 0 8px;
        }

        .photo-map-btn {
            border: 1px solid #b8b8b8;
            background: #f7f7f7;
            color: #333;
            font-size: 0.95rem;
            padding: 4px 10px;
            border-radius: 4px;
            cursor: pointer;
        }

        .photo-map-btn:disabled {
            opacity: 0.6;
            cursor: default;
        }

        .photo-map-reset {
            position: absolute;
            top: 16px;
            left: 16px;
            z-index: 5;
            border: 1px solid #b8b8b8;
            background: rgba(247, 247, 247, 0.92);
            color: #333;
            font-size: 0.8rem;
            padding: 0 6px;
            border-radius: 4px;
            cursor: pointer;
            line-height: 1;
            height: 20px;
            display: inline-flex;
            align-items: center;
            display: none;
        }

        .photo-map-note {
            /* font-size: 1.1rem; */
            color: #666;
            margin-bottom: 12px;
            grid-row: 2;
        
        }

        .china-outline .china-province-outline,
        .photo-map .china-outline path {
            fill: none;
            stroke: #b8b8b8 !important;
            stroke-width: 0.8;
            cursor: pointer;
            pointer-events: none;
        }

        .photo-map .datamap path.china-province-outline,
        .photo-map .datamap path.china-province-outline.is-hover {
            stroke: #b8b8b8 !important;
        }

        .china-outline-hit .china-province-hit {
            fill: transparent;
            stroke: transparent;
            stroke-width: 10;
            pointer-events: all;
        }

        .china-outline .china-province-outline.is-hover {
            fill: rgba(199, 199, 199, 0.35);
            stroke-width: 1.2;
            pointer-events: none;
        }

        .photo-map-empty {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
            font-size: 1rem;
        }

        .ref-hover-popup.photo-map-popup {
            max-width: 680px;
            padding: 6px;
            pointer-events: none;
        }

        .photo-map-modal {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(20, 20, 20, 0.45);
            z-index: 9999;
        }

        .photo-map-modal.is-open {
            display: flex;
        }

        .photo-map-modal-card {
            position: relative;
            display: flex;
            flex-direction: column;
            background: #f7f7f7;
            border: 1px solid #b8b8b8;
            border-radius: 8px;
            padding: 16px 16px 12px;
            max-width: min(94vw, 1240px);
            max-height: 80vh;
            overflow: auto;
        }

        .photo-map-modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            border: 1px solid #b8b8b8;
            background: rgba(255, 255, 255, 0.92);
            color: #333;
            font-size: 1.9rem;
            line-height: 2;
            width: 36px;
            height: 38px;
            border-radius: 4px;
            cursor: pointer;
            padding: 0;
            z-index: 2;
        }

        .ref-hover-popup.photo-map-popup .photo-map-frame {
            --overlay-left: 0px;
            --overlay-width: 100%;
            position: relative;
            display: inline-block;
            width: fit-content;
            max-width: 100%;
            overflow: hidden;
        }

        .photo-map-modal .photo-map-frame {
            position: relative;
            display: inline-block;
            width: fit-content;
            max-width: 100%;
            overflow: hidden;
            --overlay-left: 0px;
            --overlay-width: 100%;
        }

        .ref-hover-popup.photo-map-popup .photo-map-img {
            display: block;
            width: 100%;
            max-width: 100%;
            height: auto;
            box-shadow: none;
            margin: 0;
        }

        .photo-map-modal .photo-map-img {
            width: 100%;
            max-width: 100%;
            height: auto;
        }

        .ref-hover-popup.photo-map-popup .photo-map-cluster {
            column-count: 1;
            column-gap: 12px;
            column-fill: balance;
        }

        .ref-hover-popup.photo-map-popup .photo-map-cluster:not(.photo-map-cluster-double) {
            width: fit-content;
            max-width: 280px;
            margin: 0 auto;
        }

        .ref-hover-popup.photo-map-popup .photo-map-cluster-double {
            column-count: 2;
            max-width: 640px;
            margin: 0 auto;
        }

        .ref-hover-popup.photo-map-popup .photo-map-cluster-item,
        .photo-map-modal .photo-map-cluster-item {
            display: flex;
            justify-content: center;
            width: 100%;
            break-inside: avoid;
            margin-bottom: 12px;
        }

        .ref-hover-popup.photo-map-popup > .photo-map-cluster-item {
            width: 100%;
            max-width: 280px;
            margin: 0 auto 12px;
        }

        .photo-map-modal .photo-map-modal-body > .photo-map-cluster-item {
            width: 100%;
            max-width: 440px;
            margin: 0 auto 12px;
        }

        .photo-map-modal .photo-map-modal-body > .photo-map-cluster-item.photo-map-cluster-item-card {
            max-width: min(92vw, 1020px);
        }

        .ref-hover-popup.photo-map-popup .photo-map-cluster-item .photo-map-img {
            width: auto;
            max-width: 100%;
        }

        .ref-hover-popup.photo-map-popup .photo-map-cluster:not(.photo-map-cluster-double) .photo-map-img,
        .ref-hover-popup.photo-map-popup > .photo-map-cluster-item .photo-map-img,
        .photo-map-modal .photo-map-cluster:not(.photo-map-cluster-double) .photo-map-img,
        .photo-map-modal .photo-map-modal-body > .photo-map-cluster-item .photo-map-img {
            width: auto;
            max-width: 100%;
        }

        .ref-hover-popup.photo-map-popup .photo-map-cluster:not(.photo-map-cluster-double) .photo-map-frame,
        .ref-hover-popup.photo-map-popup > .photo-map-cluster-item .photo-map-frame,
        .photo-map-modal .photo-map-cluster:not(.photo-map-cluster-double) .photo-map-frame,
        .photo-map-modal .photo-map-modal-body > .photo-map-cluster-item .photo-map-frame {
            width: fit-content;
            max-width: 100%;
        }

        .photo-map-loading {
            font-size: 0.9rem;
            color: #444;
            white-space: nowrap;
        }

        .photo-map-meta {
            position: absolute;
            left: var(--overlay-left);
            width: calc(var(--overlay-width) - 16px);
            padding: 0 8px;
            bottom: 4px;
            font-family: 'VT323', 'Courier New', monospace;
            font-size: 1rem;
            color: white;
            margin: 0;
            text-align: right;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .photo-map-place {
            position: absolute;
            left: var(--overlay-left);
            top: 4px;
            width: calc(var(--overlay-width) - 16px);
            padding: 0 8px;
            font-family: 'VT323', 'Courier New', monospace;
            font-size: 1rem;
            color: white;
            margin: 0;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .photo-map-cluster-note {
            margin: 4px 4px 0;
            font-size: 1rem;
            color: #555;
            text-align: center;
        }

        .photo-map-frame.photo-map-frame-card {
            position: relative;
            display: block;
            width: fit-content;
            max-width: min(92vw, 1020px);
            overflow: hidden;
            background: #f7f7f7;
            border: 1px solid #d8d5cc;
            border-radius: 8px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            --overlay-left: 0px;
            --overlay-width: 100%;
        }

        .photo-map-frame.photo-map-frame-card .photo-map-img {
            display: block;
            width: auto;
            max-width: min(92vw, 1020px);
            max-height: 72vh;
            height: auto;
            margin: 0 auto;
            border-radius: 0;
            object-fit: contain;
        }

        .photo-map-frame.photo-map-frame-card .photo-map-place,
        .photo-map-frame.photo-map-frame-card .photo-map-meta {
            position: static;
            width: auto;
            left: auto;
            top: auto;
            bottom: auto;
            padding: 0 14px;
            color: #333;
            text-shadow: none;
            overflow: visible;
            white-space: normal;
            text-overflow: clip;
            text-align: left;
        }

        .photo-map-frame.photo-map-frame-card .photo-map-place {
            margin: 12px 0 4px;
            font-weight: 400;
            font-size: 1.3em;
        }

        .photo-map-frame.photo-map-frame-card .photo-map-meta {
            margin: 0 0 14px;
            color: #666;
            font-size: 0.9em;
        }

        .travel-map-section {
            margin-bottom: 20px;
        }

        .travel-gallery-wrap {
            margin-top: 10px;
        }

        .travel-gallery-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .travel-gallery-item {
            margin: 0;
        }

        .travel-gallery-item .photo-map-frame {
            position: relative;
            display: block;
            width: 100%;
            overflow: hidden;
            border: 1px solid #d8d5cc;
            border-radius: 6px;
            background: #e9e9e9;
            --overlay-left: 0px;
            --overlay-width: 100%;
        }

        .travel-gallery-item .photo-map-img {
            display: block;
            width: 100%;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            margin: 0;
        }

        .travel-gallery-item .photo-map-place,
        .travel-gallery-item .photo-map-meta {
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .travel-gallery-item .photo-map-meta {
            font-size: 0.92rem;
        }

        .travel-gallery-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 14px;
        }

        .travel-gallery-btn {
            border: 1px solid #b8b8b8;
            background: #f7f7f7;
            color: #333;
            font-size: 0.95rem;
            padding: 4px 10px;
            border-radius: 4px;
            cursor: pointer;
        }

        .travel-gallery-btn:disabled {
            opacity: 0.5;
            cursor: default;
        }

        .travel-gallery-info {
            color: #555;
            font-size: 0.95rem;
            min-width: 90px;
            text-align: center;
        }

        .travel-lightbox-open {
            overflow: hidden;
        }

        .travel-lightbox {
            position: fixed;
            inset: 0;
            z-index: 10001;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .travel-lightbox.is-open {
            display: flex;
        }

        .travel-lightbox-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(18, 18, 18, 0.72);
        }

        .travel-lightbox-card {
            position: relative;
            z-index: 1;
            background: #f7f7f7;
            border: 1px solid #b8b8b8;
            border-radius: 8px;
            max-width: min(95vw, 1100px);
            max-height: 92vh;
            overflow: auto;
            padding: 14px;
        }

        .travel-lightbox-close {
            position: absolute;
            top: 18px;
            right: 18px;
            z-index: 2;
            border: 1px solid #b8b8b8;
            background: rgba(255, 255, 255, 0.92);
            color: #333;
            border-radius: 4px;
            cursor: pointer;
            width: 34px;
            height: 34px;
            line-height: 1;
            font-size: 1.3rem;
            padding: 0;
        }

        .travel-lightbox-img {
            display: block;
            max-width: min(92vw, 1020px);
            max-height: 72vh;
            width: auto;
            height: auto;
            margin: 0 auto 10px;
            border-radius: 0px;
        }

        .travel-lightbox-title {
            margin: 0 0 4px;
            color: #222;
            font-weight: 600;
            text-align: center;
        }

        .travel-lightbox-meta {
            margin: 0;
            color: #555;
            font-size: 0.95rem;
            text-align: center;
            word-break: break-word;
        }

        @media (max-width: 700px) {
            .photo-map {
                height: 300px;
            }

            .travel-gallery-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .ref-hover-popup.photo-map-popup {
                max-width: 78vw;
            }

            .ref-hover-popup.photo-map-popup .photo-map-img {
                max-width: 90vw;
            }

            .photo-map-modal-card {
                max-width: 94vw;
            }

            .photo-map-modal .photo-map-img {
                max-width: 70vw;
            }

            .photo-map-frame.photo-map-frame-card .photo-map-img {
                max-width: 88vw;
                max-height: 66vh;
            }

            .ref-hover-popup.photo-map-popup .photo-map-cluster,
            .photo-map-modal .photo-map-cluster {
                column-count: 1;
            }

            .ref-hover-popup.photo-map-popup .photo-map-cluster:not(.photo-map-cluster-double),
            .photo-map-modal .photo-map-cluster:not(.photo-map-cluster-double) {
                max-width: 90vw;
            }

            .ref-hover-popup.photo-map-popup > .photo-map-cluster-item,
            .photo-map-modal .photo-map-modal-body > .photo-map-cluster-item {
                max-width: 90vw;
            }
        }


    .mb-1 {
    margin-bottom: 0px;
    }

    .mb-2 {
    margin-bottom: 5px;
    }

    .mb-3 {
    margin-bottom: 20px;
    }

    .mr {
    margin-right: 32px;
    }

    .mt-0 {
    margin-top: 0px;
    }

    .mt-2 {
    margin-top: 3rem;
    }

    .mt-3 {
    margin-top: 4rem;
    }

    .mx-auto {
    margin: auto;
    }
    .article-list {
        /* flex */
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        
    }
    .publication-text {
        flex: 1 1 24rem;
        max-width: 100%;
    }
    .publication-figure {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex: 0 0 clamp(12rem, 32%, 16rem);
        max-width: 100%;
        max-height: none;
        margin-left: auto;
    }
    .article-list.has-figure {
        margin-bottom: 1.5rem;
    }
    .article-list.has-figure .publication-figure {
        flex: 0 0 clamp(12rem, 28%, 18rem);
        max-width: 18rem;
    }
    .media-aspect {
        width: 100%;
        overflow: hidden;
        border-radius: 4px;
        max-height: 9rem;
    }
    .media-aspect img {
        width: 100%;
        display: block;
        max-height: 9rem;
        height: auto;
        object-fit: contain;
    }
    .award-aspect {
        aspect-ratio: 4 / 3;
        max-height: 9rem;
    }
    .award-aspect img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .line {
        display: flex;
        justify-content: space-between; 
        flex-wrap: wrap;
        flex-direction: row; 
        align-self: flex-end;
    }
    .spacing {
        justify-content: space-between; 
    }
    .education-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 40px;
    }
    .research-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 40px;
    }

    @media (max-width: 950px) {
        .education-info {
            flex-direction: row;
            margin-left: 5px;
        }
        .research-info {
            flex-direction: column;
            margin-left: 0px;
        }
    }
    @media (max-width: 20em) {
        .publication-text,
        .publication-figure {
            min-width: 100%;
            max-width: 100%;
        }
        .publication-text {
            flex: 0 1 auto;
            width: 100%;
        }
        .publication-figure {
            flex: 0 1 auto;
            display: block;
            justify-content: flex-start;
            text-align: left;
            margin-left: 0;
        }
        .publication-figure img {
            margin: 0;
        }
    }

    @media (max-width: 550px) {
        hr {
            display: none;
        }
        .article-list {
           flex-direction: column;
            align-items: flex-start;
            border-bottom: 1px dashed #cccccc56;
        }
        .article-list.has-figure .publication-figure {
            flex: 0 1 100%;
            width: 100%;
            margin-left: 0;
            margin-top: 1rem;
            margin-bottom: 1rem;
            justify-content: flex-start;
        }
        .publication-text {
            flex: 0 1 auto;
            width: 100%;
        }
        /* .date {
            background-color:rgba(148, 148, 149, 0.08);
        } */
        .line {
            flex-direction: column;
            align-self: flex-start;
        }
        .separate {
            display: none;
        }
        /* .description {
            align-self: flex-end;
        } */

    }


    .site-list {
        /* flex */
        display: flex;
        justify-content: space-between; 
    }
    .site-list img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
    .site-card {
        max-width: 20%;
        height: 10%;
        padding: 10px;
        margin-bottom: 1%;

        /* 纵向居中 */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }

    .article p {

        text-indent: 2em;
    }
    .mode {
    position: absolute;
    display: block;
    cursor: pointer;
    -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        -khtml-user-select: none; /* Konqueror HTML */
            -moz-user-select: none; /* Old versions of Firefox */
            -ms-user-select: none; /* Internet Explorer/Edge */
                user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
    }

    .weekly-calendar {
        --slot-height: 60px;
        --hours: 9;
        position: relative;
        margin: 12px 0 24px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
        overflow-x: auto;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    }

    .calendar-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        margin: 8px 0 6px;
    }

    .calendar-options {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .calendar-options.is-hidden,
    .weekly-calendar.is-hidden {
        display: none;
    }

    .calendar-navs {
        display: flex;
        gap: 8px;
    }

    .calendar-tz-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-family: 'Times New Roman', 'Noto Serif SC', serif;
        /* font-size: 1.2rem; */
        color: #333;
    }

    .calendar-tz-toggle input {
        -webkit-appearance: none;
        appearance: none;
        width: 14px;
        height: 14px;
        border: 1px solid #888;
        border-radius: 2px;
        background: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transform: translateY(1px);
        cursor: pointer;
        position: relative;
    }

    .calendar-tz-toggle input::after {
        content: '';
        width: 7px;
        height: 11px;
        border-right: 2px solid #222;
        border-bottom: 2px solid #222;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -60%) rotate(45deg) scale(0);
        transition: transform 0.12s ease;
    }

    .calendar-tz-toggle input:checked::after {
        transform: translate(-50%, -60%) rotate(45deg) scale(1);
    }

    .calendar-nav {
        font-family: 'Times New Roman', 'Noto Serif SC', serif;
        font-size: 1.3rem;
        padding: 4px 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background: #fff;
        color: #333;
        cursor: pointer;
    }

    .calendar-nav:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

    .weekly-calendar.is-collapsed {
        max-height: 620px;
        overflow-y: auto;
    }

    .weekly-calendar.is-expanded {
        max-height: 1000px;
        overflow-y: visible;
    }

    .calendar-range {
        padding: 8px 10px 0 10px;
        font-family: 'Times New Roman', 'Noto Serif SC', serif;
        font-size: 1.1rem;
        color: #555;
    }

    .calendar-header {
        display: grid;
        grid-template-columns: 72px repeat(7, minmax(110px, 1fr));
        background: #f6f6f6;
        border-bottom: 1px solid #e5e5e5;
        margin-top: 6px;
        min-width: max-content;
    }

    .time-header {
        border-right: 1px solid #e5e5e5;
    }

    .day-header {
        padding: 8px 6px;
        text-align: center;
        font-family: 'Times New Roman', 'Noto Serif SC', serif;
        font-size: 1.3rem;
        border-left: 1px solid #e5e5e5;
    }

    .day-header.is-today {
        background: rgba(210, 210, 210, 0.6);
        font-weight: 600;
    }

    .day-date {
        display: block;
        font-size: 1.3rem;
        color: #666;
    }

    .calendar-body {
        display: grid;
        grid-template-columns: 72px repeat(7, minmax(110px, 1fr));
        min-width: max-content;
    }

    .calendar-body,
    .time-col,
    .day-col,
    .time-slot {
        box-sizing: border-box;
    }

    .time-col {
        border-right: 1px solid #e5e5e5;
    }

    .time-slot {
        height: var(--slot-height);
        padding: 4px 8px;
        border-bottom: 1px solid #efefef;
        font-size: 1.3rem;
        color: #666;
    }

    .day-col {
        position: relative;
        height: calc(var(--slot-height) * var(--hours));
        border-left: 1px solid #efefef;
        background: repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent calc(var(--slot-height) - 1px),
            #efefef calc(var(--slot-height) - 1px),
            #efefef var(--slot-height)
        );
    }

    .calendar-event {
        position: absolute;
        left: 6px;
        right: 6px;
        background: #f2f2f2;
        border: 1px solid #c9c9c9;
        border-left: 3px solid #4a4a4a;
        border-radius: 4px;
        padding: 4px 6px;
        font-size: 0.8rem;
        line-height: 1.2;
        overflow: hidden;
        box-sizing: border-box;
    }

    .calendar-loading-block {
        border-color: #d7d7d7;
        border-left-color: #a6a6a6;
        background: linear-gradient(90deg, #eeeeee 0%, #f8f8f8 48%, #eeeeee 100%);
        background-size: 220% 100%;
        color: #777;
        animation: calendar-loading-shimmer 1.4s ease-in-out infinite;
        pointer-events: none;
    }

    .calendar-loading-block .event-title,
    .calendar-loading-block .event-meta {
        filter: blur(3px);
        opacity: 0.58;
        user-select: none;
    }

    .calendar-loading-overlay {
        position: absolute;
        left: 72px;
        right: 0;
        top: 58px;
        bottom: 0;
        min-height: 220px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: rgba(255, 255, 255, 0.42);
        pointer-events: none;
        z-index: 5;
    }

    .calendar-loading-mark {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 1px solid #cfcfcf;
        background: #fff;
        color: #333;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Times New Roman', 'Noto Serif SC', serif;
        font-size: 1.5rem;
        font-weight: 600;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
        position: relative;
    }

    .calendar-loading-mark::after {
        content: '';
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 2px solid transparent;
        border-top-color: #4a4a4a;
        animation: calendar-loading-spin 0.9s linear infinite;
    }

    .calendar-loading-text {
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.86);
        border: 1px solid #e2e2e2;
        color: #444;
        font-family: 'Times New Roman', 'Noto Serif SC', serif;
        font-size: 0.95rem;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    }

    @keyframes calendar-loading-spin {
        to {
            transform: rotate(360deg);
        }
    }

    @keyframes calendar-loading-shimmer {
        0% {
            background-position: 120% 0;
        }
        100% {
            background-position: -120% 0;
        }
    }

    .calendar-rest-block {
        position: absolute;
        left: 0;
        right: 0;
        background: rgba(190, 190, 190, 0.45);
        border-top: 1px solid #c5c5c5;
        border-bottom: 1px solid #c5c5c5;
        color: #666;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        cursor: not-allowed;
        pointer-events: auto;
        box-sizing: border-box;
    }

    .calendar-rest-block:hover::after {
        content: 'X';
        position: absolute;
        top: 6px;
        right: 6px;
        width: 18px;
        height: 18px;
        border: 1px solid #777;
        border-radius: 50%;
        font-size: 0.7rem;
        line-height: 16px;
        text-align: center;
        background: #efefef;
        color: #555;
        box-sizing: border-box;
    }

    .calendar-now-line {
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        background: #4a4a4a;
        z-index: 3;
        pointer-events: none;
    }

    .calendar-now-line::before {
        content: '';
        position: absolute;
        left: 4px;
        top: 50%;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #4a4a4a;
        transform: translateY(-50%);
        box-shadow: 0 0 0 2px #fff;
    }

    .event-title {
        font-weight: 600;
    }

    .event-meta,
    .event-location {
        font-size: 0.75rem;
        color: #555;
    }

    .event-location {
        margin-top: 2px;
        color: #666;
    }

    .calendar-error {
        padding: 10px;
        font-size: 0.9rem;
        color: #555;
    }

    @media (max-width: 700px) {
        .calendar-header,
        .calendar-body {
            grid-template-columns: 60px repeat(7, minmax(120px, 1fr));
        }
        .calendar-loading-overlay {
            left: 60px;
        }
        .time-slot {
            font-size: 0.8rem;
        }
    }

    .text-center {
    text-align: center;
    }

    .text-right {
    text-align: right;
    }

    .tag-link {
    margin-right: 10px;
    }

    .about {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    }

    code:not(pre code) {
    background-color: rgb(230, 230, 230);
    border-radius: 5px;
    padding: 0px 2px;
    font-size: 85%;
    }

    body.darkmode code:not(pre code) {
    background-color: rgb(65, 65, 65);
    }

    /* blockquote */
    blockquote {
    font-family: 'Inter';
    background-color: rgba(148, 148, 149, 0.08) ;
    margin: 1.5em 0px;
    padding: 10px 20px 10px;
    font-style: italic;
    }
    .blockinfo {
        font-family: 'Times New Roman', 'Noto Serif SC', serif;
        background-color: rgba(148, 148, 149, 0.08) ;
        margin: 1.5em 0px;
        padding: 10px 20px 10px;
    }

    blockquote footer {
        font-family: 'Inter';
        font-size: 16px;
        padding-bottom: 10px;
        margin-top: -10px;
    }

    blockquote footer cite:before {
    content: "—";
    padding: 0 0.5em;
    }

    /* Scroll bar */
    ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    }

    ::-webkit-scrollbar-thumb {
    background: rgb(128 128 128 / 70%);
    }
    ::-webkit-scrollbar-thumb:window-inactive {
    background: rgb(128 128 128 / 20%);
    }

    ::-webkit-scrollbar-thumb:active {
    background-color: rgb(128 128 128 / 100%);
    }

    /* Footer */
    a.footer-link:hover,
    a.footer-link:focus {
    cursor: pointer;
    }

    .svg-hov {
    transition: all .2s ease-in-out;
    }
    .svg-hov:hover {
    transform: translateY(-3px);
    transition: all .2s ease-in-out;

    }

    .hexo {
    fill: #03adfc;
    vertical-align: middle;
    padding-bottom: 4px;
    }

    .github {
    fill: #63636F;
    }
    .linkedin {
    fill: #0073b1;
    }
    .twitter {
    fill: #1DA1F2;
    }
    .instagram {
    fill: #E4405F
    }
    .stackoverflow {
    fill: #ca7516;
    }
    .nanobar {
    left: 0;
    }

    body {
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 10px;
    /* padding: 5px; */
    overflow-y: scroll;
    overflow-x: hidden;
    transition: all 0.3s ease-in-out;
    }

    body.darkmode {
    background: rgb(34, 34, 38);
    color: rgb(230, 230, 230);
    }

    .trans {
    animation: transitionPlay 0.7s;
    }

    @keyframes transitionPlay {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
    }

    .hidden {
    display: none;
    }

    #comments {
    text-align: center;
    }

    #copyright {
    font-family: "Times New Roman", "Noto Serif SC", sans-serif;
    text-align: center;
    font-size: 1.5rem;
    }

    .posisi {
    text-align: center;
    }

    @media (min-width: 550px) {
    .posisi {
        text-align: right;
    }

    #comments {
        text-align: left;
    }

    #madewith {
        text-align: left;
    }

}

/* 目录 */

#article-toc-inner:after,#article-toc-inner:before,.inner:after,.inner:before {
    content: "";
    display: table
}

#article-toc-inner:after,.inner:after {
    clear: both
}

#article-toc {
    display: block;
    /* position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 16%; */
}
/* 
@media screen and (max-width:900px) {
    #article-toc {
        display: none;
    }
} */

#article-toc-inner {
    /* width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%); */
    padding-left: 20px;
}

#article-toc-inner .toc {
    font-size: 1.5rem;
    list-style-type: circle;
    padding: 0;
    margin: 0;
}

#article-toc-inner .toc-item {
    line-height: 1.4;
    padding: 0;
    margin: 0;
}

#article-toc-inner .toc-child {
    padding: 0;
    margin-left: 1em;
    line-height: 0;
}

#article-toc-inner .toc-child .toc-item {
    margin: 0;
    padding: 0;
    list-style-type: circle;
}

#article-toc-inner  a {
    font-size: 1.4rem;
    /* 取消下划线 */
    text-decoration: none;
}
img {
    max-width: 100%;

    margin: 0 auto;
    display: block;
}
.site-list {
    max-width: 100%;
    /* 如果太多了可以换行 */
    flex-wrap: wrap;
}
.myavatar {
    /* 右上角 */
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
}

.myavatar img {
    width: min(100%, 150px);
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.home-intro {
    width: calc(100% - clamp(120px, 26vw, 180px));
    max-width: calc(100% - clamp(120px, 26vw, 180px));
    box-sizing: border-box;
}

.education-logo-frame,
.org-logo-frame {
    flex: 0 0 auto;
    justify-content: center;
}

.education-logo-frame img,
.org-logo-frame img {
    display: block;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.education-logo-frame img {
    max-width: 60px !important;
    max-height: 60px !important;
}

.education-logo-frame .wide-education-mark {
    display: block;
    width: 60px;
    height: 50px;
    overflow: hidden;
}

.education-logo-frame .wide-education-mark img {
    width: 179px !important;
    max-width: none !important;
    height: 49px !important;
    max-height: none !important;
    margin: 0;
}

.org-logo-frame img {
    max-width: 80px !important;
    max-height: 80px !important;
}

@media (max-width: 550px) {
    .myavatar {
        position: absolute;
        top: 0;
        right: 20px;
        width: clamp(96px, 20vw, 150px) !important;
        margin: 0;
    }

    .myavatar img {
        width: 100%;
    }

    .education-logo-frame,
    .org-logo-frame {
        align-items: center;
    }
}
.katex {
    font-size: 1.6rem !important;
    line-height: 1.5;
}
grayquote {
        font-family: 'Times New Roman', 'Noto Serif SC', serif;
        background-color: rgba(148, 148, 149, 0.08) ;
        margin: 1.5em 0px;
        padding: 10px 40px 10px;
}
span {
    font-family: inherit;
}

.handwritten-quote {
    font-family: 'Caveat', cursive;
    font-style: italic;
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    padding: 0 3.1rem;
    text-align: center;
    white-space: nowrap;
}

.home-quote {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin: 1.5em auto;
    min-height: 4.5rem;
}

.home-quote-mark {
    position: absolute;
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.home-quote-mark-open {
    top: -0.25rem;
    left: 0.5rem;
}

.home-quote-mark-close {
    right: 0.5rem;
    bottom: -0.35rem;
}

@media (max-width: 760px) {
    .home-quote {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        transform: none;
    }

    .handwritten-quote {
        padding: 0 2rem;
        white-space: normal;
    }
}

.video-switcher {
    margin: 1.5em 0;
}

.video-switcher-player {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.video-switcher-frame {
    position: relative;
    width: 100%;
}

.video-switcher-frame::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

.video-switcher-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-switcher-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 1px solid #b8b8b8;
    background: rgba(247, 247, 247, 0.92);
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    line-height: 30px;
    padding: 0;
    z-index: 2;
}

.video-switcher-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.video-switcher-prev {
    left: 8px;
}

.video-switcher-next {
    right: 8px;
}

.video-switcher-meta {
    max-width: 980px;
    margin: 10px auto 0;
    text-align: center;
}

.video-switcher-meta-title {
    font-size: 1.7rem;
    font-weight: 650;
}

.video-switcher-meta-subtitle {
    margin-top: 2px;
    font-size: 1.4rem;
}

.video-switcher-meta-count {
    margin-top: 6px;
    font-size: 1.2rem;
    color: #666;
}
.bibtexentry {
    font-family: 'Times New Roman', 'Noto Serif SC', serif;
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 2px;
    padding-left: 5px;
    border-radius: 1px;
}
.red {
    color: #b00020;
}

.toggle-link {
    display: block;
    text-align: right;
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #000;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
    transition: color .2s ease-in-out,
                text-decoration-color .2s ease-in-out,
                text-decoration-thickness .2s ease-in-out;
}

.toggle-link:hover,
.toggle-link:focus {
    color: #111;
    text-decoration-color: #111;
    text-decoration-thickness: 2px;
}

    .calendar-tz {
        font-size: 1.3rem;
        font-weight: 400;
        color: #666;
        margin-left: 8px;
    }

/* Abstract popup and sup tooltip styles */
.ref-hover-popup {
    position: fixed;
    display: none;
    pointer-events: auto;
    z-index: 10000;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    padding: 8px 10px;
    max-width: 780px;
    line-height: 1.4;
    font-size: 0.9em;
    color: #333;
    border-radius: 4px;
    white-space: pre-wrap;
}

.sup-tooltip {
    position: fixed;
    display: none;
    z-index: 10000;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    padding: 8px 10px;
    max-width: 200px;
    font-size: 0.9em;
    color: #333;
    border-radius: 4px;
}
