@font-face {
    font-family: "a";
    /*中文字体*/
    src: url();
    font-display: swap;
}

.purpleText {
    color: var(--purple-text-color, #747bff);
    font-weight: 800;
}

.textBackground {
    font-weight: 800;
    background: var(--text-bg-color, #f4f4f4);
    border-radius: 5px;
    font-size: 15px;
    padding: 3px 5px;
}




.tanChiShe {
    width: 85%;
}

.tanChiShe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.title {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 26px;
    font-weight: 800;
    margin: 20px 0;
    transition: all 0.4s ease;
}

.title:hover {
    transform: translateY(-3px);
}

.projectList {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 5px;
}

.projectItem {
    opacity: 1; /* 修改为默认显示，移除了淡入效果 */
    display: flex;
    background-color: var(--project-item-bg-color, #e8dfc4);
    border-radius: 8px;
    padding: 18px;
    height: auto; /* 允许高度自适应内容 */
    min-height: 105px; /* 设置最小高度 */
    width: calc(50% - 60px);
    transition: all 0.2s ease;
}

.projectItem.fade-in-visible {
    opacity: 1;
}

.projectItem:hover {
    box-shadow: 0 8px 16px -4px #2c2d300c;
    background-color: var(--project-item-hover-color, #dac99b);
}

.projectItemLeft p {
    font-size: 13px;
    margin-top: 5px;
    color: var(--project-item-left-text-color, #7e7e7e);
}

.projectItemLeft h1 {
    font-weight: normal;
    font-size: 18px;
    margin: 0px;
    transition: all 0.4s ease;
    color: var(--project-item-left-title-color, #000000);
}

.projectItemLeft {
    transition: all 0.4s ease;
    height: 100%;
    width: 80%;
}

.projectItemRight {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
    height: 100%;
}

.projectItemRight img {
    height: 44px;
    width: 44px;
}

.skill {
    padding: 25px;
    width: 100%;
}

.skill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skill #skillWap {
    display: none;
}

footer {
    padding: 5px;
    color: var(--footer-text-color);
    font-size: 13px;
    margin-top: 20px;
}

.footer-links {
    color: var(--footer-text-color);
}

.footer-links:hover {
    color: white;
    transition: 0.3;
}

@media (max-width: 1000px) {
    .projectItem {
        width: calc(100% - 25px);
    }
}

.tc {
    position: fixed;
    display: flex;
    visibility: hidden;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.tc-main {
    z-index: 100000;
    width: 80%;
    max-width: 300px;
    min-height: 200px;
    background-color: #ffffff;
    border-radius: 12px;
    opacity: 0;
    display: flex;
    transition: all 0.15s linear;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tc-img {
    width: 100%;
    height: 100%;
}

.tc.active {
    visibility: visible;
}

.tc-main.active {
    opacity: 1;
}

.tc-close {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    background-color: var(--project-item-bg-color, rgba(249, 250, 251, 0.6));
    margin-top: 30px;
    border-radius: 50%;
}


/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    .iconContainer {
        background: rgba(30, 30, 30, 0.9);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .icon {
        fill: #fff;
    }

    .iconTip {
        color: #ccc;
    }

    .iconItem:hover .iconTip {
        color: #0084ff;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .iconContainer {
        gap: 15px;
        padding: 10px;
    }

    .icon {
        width: 24px;
        height: 24px;
    }

    .iconTip {
        font-size: 10px;
    }
}

@font-face {
    font-family: "b";
    /*English font*/
    src: url();
    font-display: swap;
}

* {
    font-family: "b", "a", sans-serif;
}

* {
     /*cursor: url('/static/sb.cur'),auto;*/
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    transition: all 0.1s ease;
}

a:hover,
a:link,
a:visited,
a:active,
a:focus {
    text-decoration: none;
    outline: none;
    border: none;
    color: inherit;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 设置滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-text-color, #000000);
    border-radius: 8px;
    height: 20%;
}

::-webkit-scrollbar-track {
    background-color: var(--main-bg-color, linear-gradient(50deg, #a2d0ff, #ffffff));
}

html[data-theme="dack"] {
    --main-bg-color: rgb(0, 0, 0);
    --main-text-color: #fff;
    --gradient-start: rgb(133, 62, 255);
    --gradient-middle: #f76cc6;
    --gradient-end: rgb(255, 255, 255);
    --purple-text-color: #747bff;
    --text-bg-color: rgb(41, 15, 92);
    --icon-bg-color: rgb(19, 20, 24);
    --project-item-bg-color: rgb(19, 20, 24);
    --project-item-hover-color: rgb(31, 33, 35);
    --project-item-left-title-color: rgb(255, 255, 255);
    --project-item-left-text-color: rgb(142, 142, 142);
    --footer-text-color: #646464;
}

body {
    display: flex;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    background: var(--main-bg-color, #fffae8);
    overflow-x: hidden;
    justify-content: center;
    color: var(--main-text-color, #000000);
}

#PageLoading {
    background: radial-gradient(white, #d8eaff);
    background-size: 100%;
    background-position: center;
    background-color: #ffffff;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 999999;
    margin-top: 0px;
    top: 0px;
    pointer-events: none;
    opacity: 1;
    transition: all 0.5s ease;
}

#PageLoading-zyyo {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#PageLoading-zyyo-center {
    height: 200px;
    width: 200px;
    position: relative;
    transition: all 1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.object {
    -moz-border-radius: 50% 50% 50% 50%;
    -webkit-border-radius: 50% 50% 50% 50%;
    border-radius: 50% 50% 50% 50%;
    position: absolute;
    border-left: 5px solid #8887fa;
    border-right: 5px solid #FFC0CB;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    -webkit-animation: animate 2.5s infinite;
    animation: animate 2.5s infinite;
}

#object_one {
    width: 20%;
    height: 20%;
}

#object_two {
    width: 35%;
    height: 35%;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

#object_three {
    width: 45%;
    height: 45%;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

#object_four {
    width: 55%;
    height: 55%;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

@-webkit-keyframes animate {
    50% {}
    100% {}
}

@keyframes animate {
    50% {}
    100% {}
}

.main {
    width: 100%;
    max-width: 1200px;
    position: relative;
    display: flex; /* 添加这一行 */
}

/* 左侧栏样式 */
.left {
    width: 250px;
    height: 100vh;
    position: sticky;
    top: 0;
    padding: 0 15px;
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow-y: auto;
}

.left-main {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-right: 5px; /* 添加一点右边距 */
    padding-top: 20px;
}

.left-main::-webkit-scrollbar {
   display: none;
}

/* 新增的段落内容样式 */
.intro-content {
    background-color: var(--project-item-bg-color, #e8dfc4);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.intro-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.intro-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--main-text-color, #000000);
    margin-bottom: 15px;
    user-select: text !important;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* 个人信息部分 */
.personal-info-section {
    width: 100%;
    margin-top: 15px;
    border-radius: 13px;
    padding: 20px;
    background: var(--project-item-bg-color, #e8dfc4);
    transition: all 0.3s ease;
}

.personal-info-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.personal-info-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.personal-info-header .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
}

.personal-info-header .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.personal-info-header .name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.personal-info-header .en-name {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.8;
    text-align: center;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    position: relative;
    color: var(--main-text-color, #000000);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30%;
    height: 2px;
    background: var(--gradient-start, #bd34fe);
    background: linear-gradient(90deg, var(--gradient-start, #bd34fe), var(--gradient-middle, #e0321b));
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    user-select: text !important;
}

.info-item .icon {
    flex-shrink: 0;
}

.info-label {
    font-weight: 600;
    width: 80px;
    color: var(--project-item-left-title-color, #000000);
    user-select: text !important;
}

.info-value {
    color: var(--main-text-color, #000000);
    user-select: text !important;
}

/* 标签样式 */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    padding: 10px;
    font-size: 13px;
    border-radius: 10px;
    background: var(--main-bg-color, #fffae8);
    transition: all 0.3s ease;
}

.tag-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: var(--gradient-start, #bd34fe);
    color: white;
}

/* 时间线样式 */
.timeline-container {
    margin-top: 10px;
}

.timeline-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

#line {
    width: 100%;
    height: 200px;
    font-size: 13px;
    padding-left: 10px;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

#line li {
    list-style: none;
    position: relative;
    padding: 15px 0px 0px 15px;
    border-left: 2px solid #adbeff;
    border-radius: 0;
    scroll-snap-align: end;
    color: #82888a;
}

.focus {
    width: 15px;
    height: 15px;
    border-radius: 22px;
    background-color: #8da1ff;
    border: 2px solid #fff;
    position: absolute;
    left: -9px;
    top: 50%;
}

#line li:first-child .focus:first-child {
    background-color: #2ecc71;
    animation: focus 1.8s ease infinite;
}

#line::-webkit-scrollbar {
   display: none;
}

/* 右侧内容样式 */
.right {
    flex: 1;
    display: flex;
    padding: 25px;
    flex-direction: column;
    float: none;
}

.welcome {
    font-size: 55px;
    font-weight: 800;
    margin: 30px 0;
}

.description {
    font-size: 20px;
    margin-top: 7px;
}

.gradientText {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200%;
    background-position: 0%;
    animation: backgroundSizeAnimation 5s ease-in-out infinite;
    background-image: linear-gradient(120deg, var(--gradient-start, #bd34fe), var(--gradient-middle, #e0321b) 30%, var(--gradient-end, #41d1ff) 60%);
}

@keyframes backgroundSizeAnimation {
    0% { background-position: 100%; }
    25% { background-position: 50%; }
    50% { background-position: 0%; }
    75% { background-position: 50%; }
    100% { background-position: 100%; }
}

/* 论文发表部分 */
.content.publications {
    background-color: var(--project-item-bg-color, #e8dfc4);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.content.publications:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.content.publications > p {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--main-text-color, #000000);
}

.publications ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.publications ol li {
    padding: 25px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.publications ol li:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.publications ol li:last-child {
    border-bottom: none;
}

.publications .title {
    font-weight: bold;
    font-size: 1.1em;
    display: block;
    margin-bottom: 8px;
    color: var(--main-text-color, #000000);
}

.publications .info {
    padding-left: 0;
    margin-bottom: 10px;
    color: var(--main-text-color, #000000);
}

.publications .info.italic {
    font-style: italic;
}

.publications .imgblock {
    float: left;
    width: 200px;
    height: 120px;
    margin-right: 20px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.publications ol li:hover .imgblock {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.publications .imgblock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 统一论文链接样式 */
.publication-links {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 链接样式 - 同时支持新旧类名 */
.publication-link, .link-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--main-bg-color, #fffae8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--main-text-color, #000000);
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    user-select: text;
}

.publication-link:hover, .link-badge:hover {
    background-color: var(--gradient-start, #bd34fe);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.publication-link-icon, .link-badge svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.publication-link:hover .publication-link-icon,
.link-badge:hover svg {
    filter: brightness(4);
}

/* 针对不同类型的链接设置不同的标识色 */
.publication-link.pdf, .link-badge[href*=".pdf"] {
    border-left: 3px solid #e74c3c;
}

.publication-link.project, .link-badge[href*="Page"] {
    border-left: 3px solid #3498db;
}

.publication-link.code, .link-badge[href*="github"] {
    border-left: 3px solid #2ecc71;
}

.publication-link.arxiv, .link-badge[href*="arxiv"] {
    border-left: 3px solid #9b59b6;
}

.publication-link.blog, .link-badge[href*="zhihu"] {
    border-left: 3px solid #f39c12;
}

/* 实习经历部分样式 */
.intern-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.intern-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.intern-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.intern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.intern-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--main-text-color, #000000);
}

.intern-period {
    font-size: 14px;
    color: var(--project-item-left-text-color, #7e7e7e);
    background-color: var(--main-bg-color, #fffae8);
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 5px;
}

.intern-details {
    margin-top: 10px;
}

.intern-details p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.intern-details p:last-child {
    margin-top: 15px;
    margin-bottom: 0;
}

.intern-details a {
    color: var(--gradient-start, #bd34fe);
    text-decoration: none;
    transition: color 0.2s ease;
}

.intern-details a:hover {
    text-decoration: underline;
}

/* 获奖经历样式 */
.awards-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.award-year {
    position: relative;
    margin-bottom: 15px;
}

.award-year h3 {
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    background: var(--gradient-start, #bd34fe);
    background: linear-gradient(120deg, var(--gradient-start, #bd34fe), var(--gradient-middle, #e0321b));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 5px;
    margin-bottom: 15px;
    position: relative;
    user-select: text !important;
}

.award-year h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-start, #bd34fe);
    background: linear-gradient(90deg, var(--gradient-start, #bd34fe), var(--gradient-middle, #e0321b));
    border-radius: 3px;
}

.awards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.award-item {
    background: var(--main-bg-color, #fffae8);
    border-left: 4px solid var(--gradient-start, #bd34fe);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    user-select: text !important;
}

.award-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.award-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--main-text-color, #000000);
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: text !important;
}

.award-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    background: var(--text-bg-color, #f4f4f4);
    color: var(--purple-text-color, #747bff);
    user-select: text !important;
}

.award-badge.gold {
    background-color: rgba(255, 215, 0, 0.15);
    color: #FF8C00;
}

.award-badge.silver {
    background-color: rgba(192, 192, 192, 0.15);
    color: #808080;
}

.award-badge.bronze {
    background-color: rgba(205, 127, 50, 0.15);
    color: #CD7F32;
}

.award-badge.other {
    background-color: rgba(116, 123, 255, 0.15);
    color: var(--purple-text-color, #747bff);
}

/* 目录导航样式 */
.toc-navigation {
    position: fixed;
    right: 30px;
    top: 190px;
    background: var(--project-item-bg-color, #e8dfc4);
    border-radius: 10px;
    padding: 16px;
    width: 190px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 100;
    transition: all 0.3s ease;
    opacity: 0.9;
    max-height: calc(100vh - 250px);
    overflow-y: auto;
}

.toc-navigation::-webkit-scrollbar {
    width: 4px;
}

.toc-navigation::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.toc-navigation:hover {
    opacity: 1;
    transform: translateX(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.toc-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--main-text-color, #000000);
    text-align: center;
}

.toc-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--main-text-color, #000000);
    text-decoration: none;
    transition: all 0.25s ease;
    user-select: none;
}

.toc-link:hover {
    background: var(--main-bg-color, #fffae8);
    transform: translateX(3px);
}

.toc-link.active {
    background: linear-gradient(90deg, var(--gradient-start, #bd34fe), var(--gradient-middle, #e0321b));
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.toc-link.active .toc-link-icon {
    opacity: 1;
    filter: brightness(4);
}

.toc-link-icon {
    opacity: 0.7;
    width: 18px;
    height: 18px;
    transition: all 0.25s ease;
}

.toc-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start, #bd34fe), var(--gradient-middle, #e0321b));
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 101;
    transition: all 0.3s ease;
    display: none;
}

.toc-toggle:hover {
    transform: scale(1.1);
}

.toc-toggle svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* 二级菜单支持 */
.toc-submenu {
    margin-left: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.toc-link.expanded + .toc-submenu {
    max-height: 500px;
}

.toc-sublink {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 4px;
    color: var(--main-text-color, #000000);
    text-decoration: none;
    transition: all 0.2s ease;
}

.toc-sublink:hover {
    background: var(--main-bg-color, #fffae8);
    transform: translateX(3px);
}

.toc-sublink.active {
    color: var(--gradient-start, #bd34fe);
    font-weight: 600;
}

/* 适配暗色模式 */
html[data-theme="dack"] .content.publications:hover,
html[data-theme="dack"] .intro-content:hover,
html[data-theme="dack"] .personal-info-section:hover,
html[data-theme="dack"] .publications ol li:hover,
html[data-theme="dack"] .intern-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

html[data-theme="dack"] .award-item {
    background: var(--project-item-bg-color, rgb(19, 20, 24));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

html[data-theme="dack"] .award-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

html[data-theme="dack"] .publication-link,
html[data-theme="dack"] .link-badge {
    background-color: var(--project-item-bg-color, rgb(19, 20, 24));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="dack"] .publication-link:hover,
html[data-theme="dack"] .link-badge:hover {
    background-color: var(--gradient-start, #bd34fe);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

html[data-theme="dack"] .intern-period {
    background-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dack"] .toc-navigation {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

html[data-theme="dack"] .toc-link:hover,
html[data-theme="dack"] .toc-sublink:hover {
    background: rgba(255, 255, 255, 0.1);
}

html[data-theme="dack"] .toc-toggle {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

html[data-theme="dack"] .toc-sublink.active {
    color: var(--gradient-end, #41d1ff);
}

html[data-theme="dack"] .tag-item {
    background: var(--project-item-bg-color, rgb(19, 20, 24));
}

html[data-theme="dack"] .tag-item:hover {
    background: var(--gradient-start, #bd34fe);
}

html[data-theme="dack"] .publication-links {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .main {
    flex-direction: column;
  }

  .left {
    width: 100%;
    height: auto;
    position: relative;
    max-height: none;
  }

  .left-main {
    height: auto;
    max-height: none;
    padding-bottom: 20px;
  }

  .right {
    padding: 0 15px 25px 15px;
  }

  .toc-navigation {
    display: none;
  }

  .toc-toggle {
    display: flex;
  }
}

/* 在较小屏幕上隐藏右侧目录 */
@media (max-width: 768px) {
  .welcome {
    font-size: 32px;
    margin: 15px 0;
  }

  .intro-content {
    padding: 15px;
  }
}



/* Icon Container 基础样式 */
.iconContainer {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.iconContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.iconContainer:hover::before {
    left: 100%;
}

.iconContainer:hover {
    transform: translateY(-2px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.iconContainer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.iconContainer:hover::after {
    opacity: 1;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* =================== ICON 样式 =================== */
/* Icon Container 简化样式 */
.icon-container {
    display: flex;
    align-items: center;
    gap: 30px; /* 图标之间的间距 */
}


/* Icon 项目样式 */
.iconItem {
    display: inline-block;
    margin: 0 10px; /* 控制图标之间的间距 */
    text-align: center;
    text-decoration: none;
    position: relative;

}

.iconItem:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 132, 255, 0.3);
    box-shadow:
        0 12px 24px rgba(0, 132, 255, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.1);
}

.icon {
    width: 24px;
    height: 24px;
    fill: var(--icon-color, #666);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    z-index: 1;
    position: relative;
}

.iconItem:hover .icon {
    fill: #0084ff;
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 132, 255, 0.3));
}

.iconTip {
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
    opacity: 0.7;
    transform: translateY(4px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    color: var(--icon-tip-color, #666);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
    position: relative;
}

.iconItem:hover .iconTip {
    opacity: 1;
    transform: translateY(0);
    color: #0084ff;
    text-shadow: 0 2px 4px rgba(0, 132, 255, 0.2);
}

/* 特定图标的个性化颜色 */
.iconItem:nth-child(1):hover {
    border-color: rgba(36, 41, 46, 0.3);
}

.iconItem:nth-child(1):hover::before {
    background: linear-gradient(135deg, rgba(36, 41, 46, 0.1), rgba(36, 41, 46, 0.05));
}

.iconItem:nth-child(1):hover .icon {
    fill: #24292e;
}

.iconItem:nth-child(1):hover .iconTip {
    color: #24292e;
}

.iconItem:nth-child(2):hover {
    border-color: rgba(0, 132, 255, 0.3);
}

.iconItem:nth-child(2):hover .icon {
    fill: #0084ff;
}

.iconItem:nth-child(2):hover .iconTip {
    color: #0084ff;
}

.iconItem:nth-child(4):hover {
    border-color: rgba(244, 114, 182, 0.3);
}

.iconItem:nth-child(4):hover::before {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.1), rgba(244, 114, 182, 0.05));
}

.iconItem:nth-child(4):hover .icon {
    fill: #f472b6;
}

.iconItem:nth-child(4):hover .iconTip {
    color: #f472b6;
}

/* =================== ONOFF 专用样式 =================== */
.switchContainer {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    padding: 16px 14px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: None;
    backdrop-filter: blur(8px);
    overflow: hidden;
    min-width: 100px;
    min-height: 76px;
}

.switchContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(124, 58, 237, 0.08),
        rgba(99, 102, 241, 0.08)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.switchContainer:hover::before {
    opacity: 1;
}

.switchContainer:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow:
        0 8px 20px rgba(124, 58, 237, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.08);
}

.onoffswitch {
    position: relative;
    width: 56px;
    height: 28px;
    flex-shrink: 0;
}

.onoffswitch-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    height: 28px;
    border: 2px solid rgba(19, 20, 24, 0.3);
    border-radius: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, #131418 0%, #EEEEEE 100%);
    position: relative;
}

.onoffswitch-label:hover {
    border-color: rgba(19, 20, 24, 0.5);
    box-shadow: 0 4px 12px rgba(19, 20, 24, 0.15);
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
    height: 100%;
}

.onoffswitch-inner:before,
.onoffswitch-inner:after {
    display: block;
    position: absolute;
    width: 50%;
    height: 28px;
    padding: 0;
    line-height: 28px;
    font-size: 14px;
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
    top: 0;
}

.onoffswitch-inner:before {
    content: "🌙";
    left: 0;
    padding-left: 10px;
    background-color: #131418;
    color: #FFFFFF;
}

.onoffswitch-inner:after {
    content: "☀️";
    right: 0;
    padding-right: 10px;
    background-color: #EEEEEE;
    color: #999999;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    width: 20px;
    height: 20px;
    margin: 2px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 2px;
    box-shadow:
        0 2px 6px rgba(19, 20, 24, 0.3),
        0 0 0 1px rgba(19, 20, 24, 0.1);
}

.onoffswitch-checkbox:checked + .onoffswitch-label {
    border-color: #131418;
}

.switchText {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    color: var(--switch-text-color, #666);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
    position: relative;
}

.switchContainer:hover .switchText {
    opacity: 1;
    color: #7c3aed;
    text-shadow: 0 2px 4px rgba(124, 58, 237, 0.2);
}

/* =================== 暗色主题适配 =================== */
[data-theme="dark"] .iconContainer {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .iconItem {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .iconItem:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 12px 24px rgba(0, 132, 255, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .switchContainer {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .switchContainer:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow:
        0 8px 20px rgba(124, 58, 237, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .icon {
    fill: #ffffff;
}

[data-theme="dark"] .iconTip {
    color: #ffffff;
}

[data-theme="dark"] .switchText {
    color: #ffffff;
}

[data-theme="dark"] .iconItem:hover .iconTip {
    color: #0084ff;
}

[data-theme="dark"] .switchContainer:hover .switchText {
    color: #a78bfa;
}

/* 暗色主题下的特定图标颜色 */
[data-theme="dark"] .iconItem:nth-child(1):hover .iconTip {
    color: #f0f6ff;
    background: rgba(36, 41, 46, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
}

[data-theme="dark"] .iconItem:nth-child(2):hover .iconTip {
    color: #0084ff;
}

[data-theme="dark"] .iconItem:nth-child(4):hover .iconTip {
    color: #f472b6;
}

[data-theme="dark"] .onoffswitch-label {
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(90deg, #131418 0%, #2a2a2a 100%);
}

[data-theme="dark"] .onoffswitch-switch {
    border-color: rgba(255, 255, 255, 0.2);
    background: #ffffff;
}

[data-theme="dark"] .onoffswitch-checkbox:checked + .onoffswitch-label {
    border-color: #131418;
}

[data-theme="dark"] .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    box-shadow:
        0 2px 6px rgba(19, 20, 24, 0.5),
        0 0 0 1px rgba(19, 20, 24, 0.2);
}

/* =================== 响应式设计 =================== */
@media (max-width: 768px) {
    .iconContainer {
        gap: 12px;
        padding: 16px;
        border-radius: 16px;
    }

    .iconItem,
    .switchContainer {
        padding: 12px 10px;
        min-height: 64px;
    }

    .iconItem {
        min-width: 56px;
    }

    .switchContainer {
        min-width: 88px;
        gap: 8px;
    }

    .icon {
        width: 20px;
        height: 20px;
    }

    .iconTip,
    .switchText {
        font-size: 10px;
    }

    .onoffswitch {
        width: 48px;
        height: 24px;
    }

    .onoffswitch-label {
        height: 24px;
    }

    .onoffswitch-inner:before,
    .onoffswitch-inner:after {
        height: 24px;
        line-height: 24px;
        font-size: 12px;
    }

    .onoffswitch-switch {
        width: 16px;
        height: 16px;
        right: 26px;
    }

    .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
        right: 2px;
    }
}



/* =================== 语言切换组件样式 =================== */
/* =================== 语言切换组件样式 =================== */
.languageSwitchContainer {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    padding: 16px 14px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    backdrop-filter: blur(8px);
    overflow: hidden;
    min-width: 100px;
    min-height: 76px;
}

.languageSwitchContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.08),
        rgba(147, 51, 234, 0.08)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.languageSwitchContainer:hover::before {
    opacity: 1;
}

.languageSwitchContainer:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow:
        0 8px 20px rgba(59, 130, 246, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.08);
}

.languageSwitch {
    position: relative;
    width: 60px;
    height: 32px;
    flex-shrink: 0;
    background: linear-gradient(90deg, #3b82f6 0%, #9333ea 100%);
    border-radius: 32px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 12px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.languageSwitch:hover {
    box-shadow:
        0 6px 16px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.languageSwitch:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.languageSwitchSlider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
}

.languageSwitch.active .languageSwitchSlider {
    transform: translateX(28px) rotate(180deg);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}

.languageLabels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.languageLabels .zh {
    transform: translateX(-2px);
    transition: all 0.3s ease;
}

.languageLabels .en {
    transform: translateX(2px);
    transition: all 0.3s ease;
}

.languageSwitch:not(.active) .languageLabels .zh {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.languageSwitch:not(.active) .languageLabels .en {
    color: rgba(255, 255, 255, 0.5);
}

.languageSwitch.active .languageLabels .zh {
    color: rgba(255, 255, 255, 0.5);
}

.languageSwitch.active .languageLabels .en {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.languageText {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    color: var(--main-text-color, #666);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
    position: relative;
}

.languageSwitchContainer:hover .languageText {
    opacity: 1;
    color: #3b82f6;
    text-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

/* =================== 动画效果 =================== */
.languageSwitch.active {
    animation: language-switch-glow 2s ease-in-out;
}

@keyframes language-switch-glow {
    0%, 100% {
        box-shadow:
            0 4px 12px rgba(59, 130, 246, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow:
            0 4px 20px rgba(59, 130, 246, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 0 20px rgba(59, 130, 246, 0.3);
    }
}

/* 点击波纹效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading状态 */
.languageSwitch.loading .languageSwitchSlider {
    animation: loading-spin 1s linear infinite;
}

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

/* 提示框样式 */
.language-tip {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(59, 130, 246, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 12px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.language-tip.show {
    transform: translateY(0);
    opacity: 1;
}

/* =================== 暗色主题适配 =================== */
[data-theme="dark"] .languageSwitchContainer {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .languageSwitchContainer:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow:
        0 8px 20px rgba(59, 130, 246, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .languageText {
    color: #ffffff;
}

[data-theme="dark"] .languageSwitchContainer:hover .languageText {
    color: #60a5fa;
}

[data-theme="dark"] .languageSwitch {
    background: linear-gradient(90deg, #1e40af 0%, #7c3aed 100%);
}

[data-theme="dark"] .languageSwitchSlider {
    background: #f8fafc;
}

[data-theme="dark"] .language-tip {
    background: rgba(30, 64, 175, 0.9);
}

/* =================== 响应式设计 =================== */
@media (max-width: 768px) {
    .languageSwitchContainer {
        gap: 8px;
        padding: 12px 10px;
        min-height: 64px;
        min-width: 88px;
    }

    .languageText {
        font-size: 10px;
    }

    .languageSwitch {
        width: 52px;
        height: 28px;
    }

    .languageSwitchSlider {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .languageSwitch.active .languageSwitchSlider {
        transform: translateX(24px) rotate(180deg);
    }

    .language-tip {
        top: 10px;
        right: 10px;
        font-size: 11px;
        padding: 8px 12px;
    }
}