/* 选中文本的背景和文字颜色 */
[id] {
    scroll-margin-top: var(--header-height);
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
p {
    line-height: 200%;
}
del {
    text-shadow: none;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(79, 145, 157, 0.5); /* 滑块颜色 */
}
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(79, 145, 157, 0.75); /* 滑块悬停颜色 */
}
::selection {
    color: #fff;
    background: rgba(79, 145, 157, 0.5);
}
:root {
        --font-family-base: "Noto Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-family-monospace: "SF Mono", "Fira Code", "JetBrains Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
    color-scheme: dark;
    scroll-behavior: smooth;
    --header-height: 60px; /* 安全高度 */
    --footer-height: 210px;
    scrollbar-gutter: stable;
}
:root::-webkit-scrollbar {
    height: 8px; /* 横向滚动条高度 */
    width: 8px; /* 滚动条宽度 */
}
:root::-webkit-scrollbar-thumb {
    border-radius: 4px; /* 滑块圆角 */
}
*, *::before, *::after {
    box-sizing: border-box;
}
h1 {
    margin: 20px 0px;
}
h2, h3, h4, h5, h6 {
    margin: 10px 0px;
}
.tippy-box[data-theme~='antoolot'] {
    background-color: #222;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 12px;
}
body {
    display: flex;
    height: 100%;
    min-height: 100vh;
    margin: 0;
    flex-direction: column;
    background: url('https://cdn.oss-storage-b2.antoolot.top/assets/bg.jpg') no-repeat center/cover;
    background-color: rgb(26, 40, 51);
    /* 当内容高度大于图片高度时，背景图像的位置相对于 viewport 固定 */
    background-attachment: fixed;
}
img {
    user-select: none;
}
/* 禁止主页面滚动 */
body.scrollBAN {
    overflow: hidden;
}

/*以下为 header */

.header {
    position: sticky;
    top: 0;
    z-index: 1145;
    user-select: none;
    min-width: 320px; /* 常见最小宽度 */
    border-bottom: 1px solid transparent;
}
.header__bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    height: auto;
    padding: 0 16px;
    backdrop-filter: blur(0px);
    width: 100%;
}
.header__bar_text {
    text-decoration: none;
    color: #d3e0e0;
}
.header__bar_lefter {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
    flex-shrink: 1;
}
.header__bar_logo {
    display: flex;
    align-items: center;
    margin: 8px 0;
    flex-shrink: 0;
    cursor: pointer;
}
.header__bar_logopng {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.header__bar_text--logo {
    display: flex;
    font-weight: bold;
    padding-left: 8px;
    white-space: nowrap;
    overflow: hidden;
    width: auto;
    color: white;
    opacity: 1;
    transition: all 0.25s ease-in-out;
}
.header__bar_title {
    align-items: center;
    overflow: hidden; /* 隐藏超出容器的文本 */
    text-overflow: ellipsis; /* 使用省略号表示超出部分 */
    white-space: nowrap;
    padding: 7px 16px;
    border-left: 1px solid #aaa;
    margin: 10px 0px 10px 16px;
    font-size: large;
    font-weight: 500;
    color: #d3e0e0;
    flex: 1;
}
.header__bar_toggle {
    display: none; /* 默认隐藏汉堡菜单 */
    background: transparent;
    border: none;
    padding: 0px;
    height: 25px;
    aspect-ratio: 1;
}.header__bar_toggle_hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease-in-out;
}
.header__bar_nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: auto;
    padding: 0;
    gap: 8px;
    flex-shrink: 0;
}
.header__bar_nav li {
    display: flex;
}
.header__bar_text--navlist {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-shadow:
        1px 1px 2px rgb(26, 40, 51),
        -1px -1px 2px rgb(26, 40, 51),
        1px -1px 2px rgb(26, 40, 51),
        -1px 1px 2px rgb(26, 40, 51);
    transition: background-color 0.4s;
}
.header__bar_text--navlist:hover {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.125);
    border-radius: 5px;
}
.header__notice {
    display: flex;
    align-items: center;
    background-color: rgba(235, 200, 0, 0.8);
    /* 添加过渡效果 */
    max-height: 0;
    opacity: 0;
    padding-top: 0; /* padding 参与动画 */
    padding-bottom: 0;
    border-width: 0; /* 隐藏边框 */
    overflow: hidden; /* 隐藏超出 max-height 的内容 */
    transition: max-height 0.5s ease-out,
                opacity 0.5s ease-out,
                padding 0.5s ease-out;
}
.header__notice.isActive {
    max-height: 10em; /* 一个足够大的高度 */
    opacity: 1;
}
.header__notice_text {
    color: #141c1f;
    font-size: small;
    font-weight: 500;
    padding: 10px;
}
.header__notice_close {
    display: flex;
    margin-left: auto;
    align-items: center;
    padding: 0px 10px 0px 0px;
    height: 20px;
    aspect-ratio: 1;
}
.header__notice_icon {
    display: inline-block;
    justify-content: center;
    align-items: center;
    height: 15px;
    aspect-ratio: 1;
    background: url("../assets/close.svg") no-repeat center/cover;
    transition: transform 0.4s ease-in-out;
}
.header__notice_close:hover .header__notice_icon {
    transform: rotate(90deg);
    transition: transform 0.4s ease-in-out;
    cursor: pointer;
}
.mobile-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1144;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease,
                visibility 0s 0.4s;
}
.mobile-nav-container .isMobileNav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 320px;
    gap: 10px;
    border-left: 1px solid #333;
    border-radius: 10px 0px 0px 10px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.mobile-nav-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
/* 移动端适配 */
@media (max-width: 768px) {
    .header__bar {
        flex-direction: row; 
        align-items: center; /* 垂直居中 */
        flex-wrap: wrap; /* 允许导航栏换行 */
    }
    .header__bar_lefter {
        flex-direction: row;
        justify-content: flex-start; /* 左对齐 */
    }
    .header__bar_nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
        display: none;
        order: 3; /* 排在第 3 位 */
    }
    .header__bar_toggle {
        display: block;
        background: none;
        border: none;
        width: 32px;
        height: 32px;
        cursor: pointer;
    }
    .header__bar_nav li {
        width: 100%;
    }
    .header__bar_nav li a {
        display: flex;
        justify-content: center;
    }
    .header__bar_text--logo {
        width: 0;
        padding: 0;
        opacity: 0;
    }
    /* 移动端导航 */
    .mobile-nav-container.isActive {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.4s ease,
                    visibility 0s 0s;
    }
    .mobile-nav-container.isActive .mobile-nav-backdrop {
        opacity: 1;
    }
    .mobile-nav-container.isActive .isMobileNav {
        transform: translateX(0);
    }
    .mobile-nav-container .isMobileNav .header__bar_text--navlist {
        padding: 15px 10px; /* 调整内边距以适应垂直布局 */
        width: 100%;
    }
}

/* 以下为 main */

.main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex: 1;
    padding: 2vw;
}
.main__content_container {
    align-items: center;
    border-radius: 25px;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* 桌面端的大 padding */
    padding: 45px 75px; 
    font-size: 16px;
    font-weight: 400;
    max-width: 960px;
    transition: all 0.25s ease-in-out;
}
.main__content_text {
    color: #d3e0e0;
    overflow-wrap: break-word;
    word-break: break-word;
    text-shadow:
        1px 1px 2px #000,
        -1px -1px 2px #000,
        1px -1px 2px #000,
        -1px 1px 2px #000;
}
.main__content_text--outline {
    margin: 0px;
}
.main__content_text--introduction {
    border-left: 2px solid #aaa;
    padding: 0px 0px 0px 20px;
    margin: 10px 0px;
    font-size: 16px;
    color: #aaa;
}
/* 这个实现源自于 https://www.bilibili.com/video/BV1Dc41147sW 的解析，太强了，复刻一下 */
/* 但其实这个方案有一个问题，若鼠标在动画结束前移出 a 标签，动画会被打断，观感非常割裂。我尚在研究如何解决这个问题 */
.main__content_text--link {
    text-decoration: none;
    background-image: linear-gradient(to right, rgba(79, 145, 157, 0.75) 0%, rgba(79, 145, 157, 0.75) 100%);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 0px 2px;
    color: #d3e0e0;
    transition: font-weight 0.25s ease,
                background-size 0.25s ease-in-out;
}
.main__content_text--link::after {
    content: '';
    display: inline-block;
    font-size: 15px;
    position: relative;
    transform: translate(-10%, 25%);
    width: 20px;
    height: 20px;
    background: url("../assets/link.svg") no-repeat center/contain;
    transition: transform 0.25s ease-in-out;
}
.main__content_text--link:hover {
    background-size: 100% 2px;
    background-position-x: left;
    font-weight: 800;
    transition: font-weight 0.25s ease,
                background-size 0.25s ease-in-out;
}
.main__content_text--link:hover::after {
    transform: translate(5%, 10%);
}
.main__content_tips {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 8px;
    margin: 5px 0px;
    gap: 12px;
    background-color: rgba(255, 180, 0, 0.5);
    color: #d3e0e0;
    font-size: small;
}
.main__content_tips--out-of-date {
    background-color: rgba(80, 80, 80, 0.5);
}
.main__content_tips--icon {
    display: inline-block;
    flex-shrink: 0; /* 防止在大屏压缩时图标变小 */
    width: 16px;
    height: 16px;
    background: url("../assets/info_circle.svg") no-repeat center/contain;
}
.main__content_image {
    display: flex;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
}
.main__content_image--alt {
    display: block;
    text-align: center;
    color: #aaa;
    font-size: 14px;
    margin-top: 8px;
}
.main__content_info {
    border-bottom: 1px solid #666;
}
.main__content_info--bar {
    display: flex;
    box-sizing: content-box;
    align-items: center;
    flex-wrap: wrap;
    color: #aaa;
    text-shadow:
        1px 1px 2px #000,
        -1px -1px 2px #000,
        1px -1px 2px #000,
        -1px 1px 2px #000;
    font-size: 14px;
    height: auto;
    width: 100%;
    padding: 10px 0;
    gap: 10px 20px;
}
.main__content_info--bar span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.main__content_info--bar--info::before {
    content: '';
    font-size: 15px;
    position: relative;
}
.main__content_info--bar--info-word::before {
    width: 16px; /* 视效一致 */
    height: 16px; /* 视效一致 */
    background: url("../assets/word.svg") no-repeat center/contain;
}
.main__content_info--bar--info-eta::before {
    width: 18px;
    height: 18px;
    background: url("../assets/time.svg") no-repeat center/contain;
}
.main__content_info--bar--info-date::before {
    width: 18px;
    height: 18px;
    background: url("../assets/calender.svg") no-repeat center/contain;
}
.main__content_info--bar--info-tag::before {
    width: 18px;
    height: 18px;
    background: url("../assets/tag.svg") no-repeat center/contain;
}
/* 没招了，目录和内容的英文是一个 */
.main__container_catalog {
    display: flex;
    position: sticky;
    top: calc(var(--header-height) + 2vw);
    align-self: flex-start;
    flex-direction: column;
    border-radius: 15px;
    /* 桌面端的大 padding */
    padding: 10px 50px;
    min-width: 190px;
    max-width: 260px;
    max-height: 320px;
    background: rgba(0, 0, 0, 0.5);
}
.main__container_catalog a {
    color: #aaa;
    text-decoration: none;
    padding: 4px 0px;
    transition: color 0.25s ease-in-out,
                font-weight 0.25s ease-in-out;
}
.main__container_catalog a:hover, .main__container_catalog a.isActive {
    color: #d3e0e0;
    font-weight: 600;
}
.main__content_catalog--header {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 10px 0px;
    border-bottom: 1px solid #666;
    gap: 10px;
}
.main__content_catalog--header h2 {
    display: flex;
    align-items: center;
    margin: 0;
}
.main__content_catalog--refresh {
    display: flex;
    flex-shrink: 0; /* 防止在大屏压缩时图标变小 */
    margin-left: auto;
    margin-top: 2px;
    background: url("../assets/rotate.svg") no-repeat center/contain;
    background-size: 60% 60%;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    transition: background-color 0.4s; 
    width: 30px;
    height: 30px;
}
.main__content_catalog--refresh:hover {
    flex-shrink: 0; /* 防止在大屏压缩时图标变小 */
    background-color: rgba(79, 145, 157, 0.5);
    cursor: pointer;
}
.main__content_catalog--list {
    display: flex;
    flex-direction: column;
    margin: 5px 0px;
    flex: 1;
    overflow-y: auto;
}
.main__content_catalog--list::-webkit-scrollbar {
    width: 6px; /* 滚动条宽度 */
}
.main__content_catalog--list::-webkit-scrollbar-track {
    background: transparent; /* 轨道背景 */
}
.main__content_catalog--list::-webkit-scrollbar-thumb {
    border-radius: 3px; /* 滑块圆角 */
    visibility: hidden;
}
.main__content_catalog--sublist {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    box-sizing: border-box;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .main {
        gap: 10px;
        min-width: 320px; /* 常见最小宽度 */
    }
    .main__content_container {
        /* 移动端的默认 padding */
        padding: 10px 30px; /* 消除行后距，视觉上对称 */
    }
    .main__content_container--bottomcard {
        /* 移动端的默认 padding */
        padding: 20px 20px 50px 28px; /* 消除行后距，视觉上对称，而且 50px 下边距专为回顶按钮定制 */
    }
}
@media (max-width: 320px) {
    .main {
        padding: 6.4px;
    }
}

/* 以下为移动端目录适配 */
.catalog__button, .catalog__backdrop {
    display: none;
}
@media (max-width: 768px) {
    .main__container_catalog {
        position: fixed; /* 改为固定定位，脱离文档流 */
        visibility: hidden;
        background-color: rgba(0, 0, 0, 0.8);
        top: 37.5%;
        right: 2vw;
        width: 180px; /* 固定宽度 */
        max-width: 50%;
        height: 25%;
        z-index: 1143;
        padding: 10px 25px;
        border: 1px solid #333;
        align-self: unset; /* 重置 desktop 的 align-self */
        transform: translateX(calc(100% + 2vw));
    }
    /* 思想：分离默认和激活状态 */
    .main__container_catalog.catalog-activated {
        transition: transform 0.25s ease-in-out, 
                    visibility 0s linear 0.25s; /* 变为可见时必须包含变化过程，否则退出动画失效 */
    }
    .catalog__button {
        display: none; /* 按钮默认隐藏 */
        flex-shrink: 0; /* 防止在大屏压缩时图标变小 */
        align-items: center;
        justify-content: center;
        position: fixed;
        right: 4vw;
        top: calc(var(--header-height) + 4vw + 1px);
        z-index: 1142;
        width: 50px;
        height: 50px;
        background: url("../assets/catalog.svg") no-repeat center/contain;
        background-size: 50% 50%;
        border-radius: 50%;
        backdrop-filter: blur(20px);
        border-color: transparent;
        border: 1px solid #444;
        cursor: pointer;
        transition: transform 0.25s ease-in-out, 
                    opacity 0.25s ease-in-out, 
                    background-color 0.25s ease-in-out;
    }
    .catalog__button.isActive {
        display: flex;
    }
    .catalog__button:hover {
        background-color: rgba(79, 145, 157, 0.5);
    }
    body.catalog-open .catalog__button {
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none; /* 变为透明后，禁止其响应鼠标事件 */
    }
    body.catalog-open .main__container_catalog {
        visibility: visible;
        transition: transform 0.25s ease-in-out;
        transform: translateX(0); /* 移动到屏幕内 */
    }
    .catalog__backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1141;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, 
                    visibility 0s 0s;
    }
    body.catalog-open .catalog__backdrop {
        display: block; /* 使其可见 */
        opacity: 1;
        visibility: visible;
    }
}
@media (max-width: 320px) {
    .catalog__button {
        top: calc(var(--header-height) + 12.8px + 1px);
        right: 12.8px;
    }
}

/* 以下为回顶按钮 */

.backtotop__button {
    flex-shrink: 0; /* 防止在大屏压缩时图标变小 */
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 4vw;
    z-index: 1142;
    width: 50px;
    height: 50px;
    background: url("../assets/top.svg") no-repeat center/contain;
    background-size: 36% 36%;
    border-radius: 50%;
    backdrop-filter: blur(20px);
    border: 1px solid #444;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s ease-in-out 0.25s,
                opacity 0.25s ease-in-out;
}
.backtotop__button.show {
    opacity: 1;
    visibility: visible;
    transition: visibility 0s,
                opacity 0.25s ease-in-out,
                background-color 0.25s ease-in-out;
}
.backtotop__button.isActive {
    pointer-events: auto;
}
/* 两按钮切换时，临时禁用过渡动画 */
.backtotop__button.no-transition {
    transition: none !important;
}
.backtotop__button.show:not(.isActive) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.backtotop__button:hover {
    background-color: rgba(79, 145, 157, 0.5);
}
.backtotop__button--fixed {
    position: fixed;
    bottom: 4vw;
}
.backtotop__button--case {
    display: flex;
    position: relative;
    z-index: 1140;
    height: 0;
    flex-shrink: 0;
    min-width: 320px;
}
.backtotop__button--sticky {
    position: absolute;
    bottom: calc(100% + 4vw);
    right: 4vw;
}

@media (max-width: 320px) {
    .backtotop__button {
        right: 12.8px;
    }
    .backtotop__button--sticky {
        bottom: calc(100% + 12.8px);
    }
}

/* 以下为 footer */

.footer {
    display: flex;
    background-color: #141c1f;
    padding: 16px;
    border-top: 1px solid #333; 
    border-width: 1px;
    user-select: none;
    min-width: 320px; /* 常见最小宽度 */
    transition: all 0.25s ease-in-out;
}
.footer__link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* 允许子元素换行 */
    transition: all 0.25s ease-in-out;
}
.footer__link_button {
    display: flex; /* 内部对齐伪元素 */
    flex-shrink: 0; /* 防止在大屏压缩时图标变小 */
    width: 50px;
    height: 50px;
    border-radius: 50%; 
    background-color: black;
    position: relative;
    margin: 10px 25px;
    transition: background-color 0.4s; 
}
.footer__link_button--github:hover {
    background-color: #4f919d;
}
.footer__link_button--github::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: url("../assets/github-logo-icon.svg") no-repeat center/contain;
}
.footer__link_button--opensource {
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer__link_button--opensource:hover {
    background-color: #4f919d;
    cursor: pointer;
}
.footer__link_button--opensource::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 15px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    background: url(../assets/opensource.svg) no-repeat center/contain;
}
.footer__link_window--opensource {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 默认透明且不可见 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, 
                visibility 0.25s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2023;
}
.footer__link_window--opensource.isVisible {
    opacity: 1;
    visibility: visible;
}
.footer__link_window--opensource--content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative; /* 确保在遮罩层之上 */
    background-color: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(15px) saturate(120%);
    box-shadow: 0 0 90px 5px var(--glow-color, transparent); /* 默认透明 */
    transition: box-shadow 0.5s ease-in-out;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 480px;
    z-index: 2024;
    user-select: text;
}
.footer__link_window--opensource--content--window-title {
    display: flex;
    align-items: center;
}
.footer__link_window--opensource--content--window-title--text {
    position: relative;
    font-size: 18px;
    font-weight: 600;
    padding: 0px 5px;
}
.footer__link_window--opensource--content--window-title--close-button {
    display: flex;
    flex-shrink: 0; /* 防止在大屏压缩时图标变小 */
    margin-left: auto;
    background: url("../assets/close-bold.svg") no-repeat center/contain;
    background-size: 75% 75%;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    transition: background-color 0.4s; 
    width: 32px;
    height: 32px;
}
.footer__link_window--opensource--content--window-title--close-button:hover {
    flex-shrink: 0; /* 防止在大屏压缩时图标变小 */
    background-color: rgba(79, 145, 157, 0.5);
    cursor: pointer;
}
.footer__link_window--opensource--content--projects {
    display: flex;
    padding: 10px 0px 10px 30px;
}
.footer__link_window--opensource--content--projects--items--text {
    display: flex;
    margin: 0;
    padding: 5px 0px;
    font-weight: 600;
    font-size: 16px;
}
.footer__link_window--opensource--content--projects--items--link {
    display: flex;
    position: relative; /* 为伪元素定位 */
    align-items: center;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    text-decoration: none;
    padding: 8px;
    transition: color 0.25s ease-in-out,
                background-color 0.25s ease-in-out;
}
.footer__link_window--opensource--content--projects--items--link--icon {
    display: block;
    width: 25px;
    height: 25px;
    margin-right: 5px;
    background: url("../assets/github-logo-icon.svg") no-repeat center/contain;
}
.footer__link_window--opensource--content--projects--items--link::after {
    content: '';
    display: inline-block;
    font-size: 15px;
    position: relative;
    width: 20px;
    height: 20px;
    background: url("../assets/link.svg") no-repeat center/contain;
}
.footer__link_window--opensource--content--projects--items--link:hover {
    background-color: rgba(255, 255, 255, 0.125);
    border-radius: 6px;
    cursor: pointer;
}
.footer__link_window--opensource--backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px) saturate(120%);
    opacity: 0;
    transition: opacity 0.4s linear;
}
.footer__link_window--opensource--backdrop.isVisible {
    opacity: 1;
}
.footer__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
}
.footer__info_text {
    display: flex;
    color: #d3e0e0;
    font-size: 15px;
    vertical-align: middle;
}
.footer__info_block {
    display: flex;
    padding: 10px 10px;
    margin-left: auto;
}
.footer__info_subset {
    display: flex;
    align-items: center;
}
.footer__info_icon {
    display: inline-block;
}
.footer__info_subset--cc {
    display: flex;
    text-decoration: none;
    flex-direction: column;
    padding: 10px 15px;
    height: auto;
    border: 1px solid #333;
    background: url("../assets/cc-logo.svg") no-repeat;
    background-size: 80%;
    background-position: right 5px bottom 5px;
    border-radius: 10px;
    transition: background-color 0.4s;
}
.footer__info_subset--cc:hover {
    background-color: rgba(80, 80, 80, 0.5);
    cursor: pointer;
}
.footer__info_text--cc {
    display: inline-block;
    width: 100%;
    text-align: left;
    font-size: 15px;
}
.footer__info_text--ccitself {
    display: inline-block;
    text-align: left;
    width: 100%;
    font-size: 20px;
    font-weight: 750;
}
.footer__info_text--cc-link::after {
    content: '';
    display: inline-block;
    font-size: 15px;
    position: relative;
    transform: translate(-5%, 20%);
    width: 20px;
    height: 20px;
    background: url("../assets/link.svg") no-repeat center/contain;
}
.footer__info_block--others {
    flex-wrap: wrap; /* 移动端换行适配 */
    gap: 20px;
    justify-content: flex-end; /* 换行右对齐 */
}
.footer__info_subset--not-written-by-ai {
    box-sizing: content-box;
    display: block;
    height: 30px;
    aspect-ratio: 131/42;
    background: url("../assets/wbhnba.svg") no-repeat center/contain;
    background-size: 100% 100%;
    cursor: pointer;
}
.footer__info_subset--copy {
    white-space: nowrap;
}
/* 移动端适配 */
@media screen and (max-width: 768px) {
    .footer {
        padding: 10px;
    }
    .footer__link_button {
        margin: 0px 15px;
    }
}