/* ==================================================*/
/* Copyright 2024 The ChLee Authors Licensed under MIT */
/* ==================================================*/
/*页面全局初始化*/
body {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: unset;
    word-wrap: break-word;
}
::-webkit-scrollbar {
    width: 6px;
    height: 3px;
}
::-webkit-scrollbar-track {
    background-color: #FFFFFF;
}
::-webkit-scrollbar-thumb {
    background-color: lightpink;
}
/*优化bootstrap的navbar和offcanvas*/
.navbar {
    width: 90%;
    z-index: 500;
    margin-left: 5%;
    margin-top: 20px;
}
.offcanvas{
    --bs-offcanvas-width: 260px;
    background: rgba(255, 255, 255, 0.9);
    --bs-offcanvas-transition:transform 0.5s ease-in-out;
}
/*微调icon位置*/
iconify-icon{
    vertical-align: -0.15rem
}
/* ==================================================*/
/* 自定义字体 START */
/* ==================================================*/

@font-face{
    font-family: 'sukasuka-font';
    src: url("../font/other/sukasuka.woff2");
}
@font-face{
    font-family: 'ym-font';
    src: url("../font/other/ym.ttf");
}
@font-face {
    font-family: 'Ali_PuHuiTi';
    src: url('../font/Alibaba/Alibaba_PuHuiTi_2.0_35_Thin_35_Thin.ttf') format('truetype');
    font-weight: 100;
}
@font-face {
    font-family: 'Ali_PuHuiTi';
    src: url('../font/Alibaba/Alibaba_PuHuiTi_2.0_45_Light_45_Light.ttf') format('truetype');
    font-weight: 200;
}
@font-face {
    font-family: 'Ali_PuHuiTi';
    src: url('../font/Alibaba/Alibaba_PuHuiTi_2.0_55_Regular_55_Regular.ttf') format('truetype');
    font-weight: 300;
}
@font-face {
    font-family: 'Ali_PuHuiTi';
    src: url('../font/Alibaba/Alibaba_PuHuiTi_2.0_65_Medium_65_Medium.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Ali_PuHuiTi';
    src: url('../font/Alibaba/Alibaba_PuHuiTi_2.0_75_SemiBold_75_SemiBold.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'Ali_PuHuiTi';
    src: url('../font/Alibaba/Alibaba_PuHuiTi_2.0_55_Regular_85_Bold.ttf') format('truetype');
    font-weight: 600;
}
@font-face {
    font-family: 'Ali_PuHuiTi';
    src: url('../font/Alibaba/Alibaba_PuHuiTi_2.0_95_ExtraBold_95_ExtraBold.ttf') format('truetype');
    font-weight: 700;
}
@font-face {
    font-family: 'Ali_PuHuiTi';
    src: url('../font/Alibaba/Alibaba_PuHuiTi_2.0_105_Heavy_105_Heavy.ttf') format('truetype');
    font-weight: 800;
}
@font-face {
    font-family: 'Ali_PuHuiTi';
    src: url('../font/Alibaba/Alibaba_PuHuiTi_2.0_115_Black_115_Black.ttf') format('truetype');
    font-weight: 900;
}

/* ==================================================*/
/* 自定义字体 END */
/* ==================================================*/

/* ==================================================*/
/* HEADER 和 FOOTER 样式 START */
/* ==================================================*/

header{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    height: 75px;
    transition: background-color 0.5s;
}
header:hover{
    box-shadow: 0 1px 40px -8px rgba(0, 0, 0, .5);
    background-color: rgba(255,255,255,0.9);
}
.header-move{
    box-shadow: 0 1px 40px -8px rgba(0, 0, 0, .5);
    background-color: rgba(255,255,255,0.9);
}
.header-container{
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-container-title{
    float: left;
    position: relative;
    height: 75px;
    line-height: 75px;
}

.header-container-nav{
    position: relative;
    float: right;
    margin: 15px 0 0 10px;
}
.header-container-menu{
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}
.header-container-menu li{
    float: left;
    margin: 0 10px;
    position: relative;
    -webkit-transition: all 1s ease;
    padding: 10px;
    display: inline-block;
    color: #666;
}
.header-container-menu li:hover{
    background-color: #74b3fb;
    border-radius: 10px;
    animation: heartBeat;
    animation-duration: 1s;
}
.header-container-menu iconify-icon,
.header-container-menu a{
    font-size: 17px;
}
footer{
    background-color: #000000;
    padding-top: 4rem;
    padding-bottom: 1rem;
    color: rgba(255,255,255,.7);
    margin-top: auto;
}
footer a{
    color: #adb5bd !important;
    padding: .125rem 0;
    font-size: 0.9rem;
}
.isolate-header{
    height: 90px;
}

/* ==================================================*/
/* HEADER 和 FOOTER 样式 END */
/* ==================================================*/

/* ==================================================*/
/* 页面加载 START */
/* 基于这个博客衍生而来：https://blog.csdn.net/qq_44552416/article/details/140467278 */
/* ==================================================*/
.page-load {
    width: 100%;
    height: 100%;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.page-load-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.page-load-body span {
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    animation: page-load-body-font 1s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--time));
}
@media (max-width: 768px) {
    .page-load-body span{
        font-size: 20px;
    }
}
@keyframes page-load-body-font {
    0% {
        transform: translateY(0px);
    }

    25% {
        transform: translateY(-20px);
    }

    50%,100% {
        transform: translateY(0px);
    }
}
/* ==================================================*/
/* 页面加载 end */
/* ==================================================*/

.flex-body{
    display: flex;
    flex-direction: column;
}
.flex-container{

}

/* ==================================================*/
/* 主页 START */
/* ==================================================*/

.index-header-title{
    font-size: 35px;
    text-shadow: 0 0 18px #dc8ac4, 0 0 2px #FFFFFF;
    font-weight: 600;
}
.index-header-title-Chtholly{
    color: #56b0d9;
}
.index-header-title-klee{
    color: #dc8ac4;
}
.index-header-nav{
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    transition: color 0.5s;
}
.index-header-nav:hover{
    color: #000000;
}
.index-footer {
    position: fixed;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 10px;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    text-shadow: 0 0 20px rgba(0, 0, 0, .8);
    white-space: nowrap;
}

.index-footer a{
    text-decoration: none;
    color: rgba(255, 255, 255, .6);
    display: inline-block;
}

.index-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.index-search-title{
    color: #fff;
    font-size: 80px;
    text-shadow: 0 0 20px rgba(0, 0, 0, .35);
    font-weight: 400;
    font-family: sans-serif
}
.index-search-title:hover{
    animation: rubberBand;
    animation-duration: 1s;
}

.index-search-container {
    text-align: center;
}

.begin-search-selection{
    background-color: rgba(255, 255, 255, 15%);
    border-radius: 25px 0 0 25px;
    margin-right: 1px;
}

.begin-search-selection-menu{
    padding: 5px;
}

.begin-search-selection-menu li{
    padding: 5px 10px;
    border-radius: 3px;
}

.begin-search-selection-menu li:hover{
    background-color: rgba(115, 113, 113, 0.44);
}
.begin-search-selection-menu span{
    margin-left: 10px;
}

.begin-search-input {
    flex: 1;
    border: none;
    padding: 10px;
    outline: none;
    text-align: center;
    width: 200px;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 15%);
    transition: opacity .35s, width .35s,background-color .35s;
}


.begin-search-input:focus{
    width: 400px;
    background-color: rgba(255, 255, 255, 100%)
}

@media (max-width: 768px) {
    #index-search-input{
        max-width: 300px;
    }
}

/* ==================================================*/
/* 主页 END */
/* ==================================================*/


/* ==================================================*/
/* BLOG START */
/* ==================================================*/

.blog-header{
    position: relative;
    overflow: hidden;
}
.blog-header-show:before{
    background-image: url('../img/dot.gif');
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
    background-attachment: fixed;
}
@media (max-width: 768px) {
    .blog-header-show:before{
        background-image: url('../img/grid.png');
    }
}
.blog-header-img{
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-image: url('../img/index_bg.png');
}
.blog-header-title{
    position: relative;
    max-width: 800px;
    padding: 0 10px;
    top: 49.3%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 99;
}

.blog-header-title h1{
    position: relative;
    color: #fff;
    mix-blend-mode: lighten;
    font-family: Consolas, "Ali_PuHuiTi", sans-serif;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    border-right: 2px solid black;
    animation: blink 1s steps(1) infinite;
    max-width: 400px;
}
@keyframes blink {
    50% {
        border-color: transparent;
    }
}
.blog-header-cloud-before{
    background: url("../img/cloud2.png") repeat-x;
    z-index: 9;
    left: -400px;
    height: 80px;
}
.blog-header-cloud-tail{
    background: url("../img/cloud1.png") repeat-x;
    z-index: 11;
    left: -200px;
    height: 65px;
}
.blog-header-cloud{
    position: absolute;
    bottom: 0;
    width: 400%;
    opacity: 1;
}
.blog-main{
    background-color: rgba(255,255,255,0.8);
    max-width: 800px;
}
.blog-main-blank{
    margin-top: 60px;
}
.blog-main-navigate {
    border-bottom: 1px dashed #ececec;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.blog-main-navigate iconify-icon{
    font-size: 2rem;
}
.blog-main-navigate span{
    font-family: Nunito,sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
}

.blog-main-card{
    float: left;
    width: 100%;
    height: 300px;
    position: relative;
    margin: 20px 0 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: 0 12px 15px rgba(0, 0, 0, 0.1), 0 17px 50px rgba(0, 0, 0, 0.1);
    transition: box-shadow .6s ease;
    animation: zoomIn;
    animation-duration: 2s;
}
.blog-main-card-image{
    width: 55%;
}
.blog-main-card-left .blog-main-card-image{
    float: left;
}
.blog-main-card-right .blog-main-card-image{
    float: right;
}
.blog-main-card-image a{
    height: 300px;
    position: relative;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;

}
.blog-main-card-left .blog-main-card-image a{
    border-radius: 10px 0 0 10px;
}
.blog-main-card-right .blog-main-card-image a{
    border-radius: 0 10px 10px 0;
}
.blog-main-card-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: all .6s;
    background-position: center;
    background-size: cover;
}
.blog-main-card:hover{
    box-shadow: 0 12px 15px rgba(0, 0, 0, 0.3), 0 17px 50px rgba(0, 0, 0, 0.3);
}
.blog-main-card:hover img {
    transform: scale(1.2) rotate(5deg);
}
.blog-main-card-content{
    width: 40%;
    height: 300px;
    position: relative;
    display: inline-block;
    padding-right: 0;
}
.blog-main-card-left .blog-main-card-content{
    float: right;
    text-align: right;
    margin: 20px 3px 10px 0;
    padding-right: 30px;
}
.blog-main-card-right .blog-main-card-content{
    float: left;
    text-align: left;
    margin: 20px 0 10px 3px;
    padding-left: 30px;
}
.blog-main-card-content-create-time{
    color: #888;
    font-size: 14px;
}
.blog-main-card-content-title{
    margin-top: .8rem;
    margin-bottom: .5rem;
}
.blog-main-card-content-title a{
    color: #504e4e;
    font-size: 1.4rem;
    font-family: "Ali_PuHuiTi", sans-serif;
}
.blog-main-card-content-title a:hover{
    color: #e67474;;
    transition: color .2s ease-out, border .2s ease-out, opacity .2s ease-out;
}
.blog-main-card-content-browse{
    color: #888;
    font-size: 12px;
}
.blog-main-card-content-describe{
    color: rgba(0, 0, 0, .66);
    font-size: 1rem;
    font-family: "Nirmala UI",sans-serif;
    font-weight: 500;
    margin-top: 1rem;
}
@media (max-width: 768px) {
    .blog-main-card{
        height: auto;
        box-shadow: none;
    }
    .blog-main-card:hover{
        box-shadow: none;
    }
    .blog-main-card-content{
        width: 100%;
        height: auto;
    }
    .blog-main-card-image{
        width: 100%;
    }
    .blog-main-card-left .blog-main-card-image a{
        border-radius: 10px 10px 0 0;
    }
    .blog-main-card-right .blog-main-card-image a{
        border-radius: 10px 10px 0 0;
    }

    .blog-main-card-left .blog-main-card-content{
        float: left;
        text-align: left;
        margin: 0;
        padding: 20px;
    }
    .blog-main-card-right .blog-main-card-content{
        float: left;
        text-align: left;
        margin: 0;
        padding: 20px;
    }
}

.blog-main-next{
    width: 100%;
    padding: 20px 0;
    text-align: center;
    margin: 40px 0 80px;
    display: inline-block;
}
.blog-main-next span{
    padding: 13px 50px;
    border: 1px solid #d6d6d6;
    border-radius: 50px;
    color: #000000;
    transition: color .4s ease-out, border .4s ease-out, opacity .4s ease-out,box-shadow .4s ease-out;
}
.blog-main-next span:hover{
    color: #e67474;
    border: 1px solid #FF6F61;
    box-shadow: 0 0 4px rgba(255, 111, 97, .85);
}

.blog-main-label{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    margin: 10px 0 10px 0;
}
.blog-main-label-item{
    display: inline-flex;
    padding: 8px 16px;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    font-family: "Ali_PuHuiTi", sans-serif;
    font-weight: 400;
    font-size: 18px;
    transition: transform 0.4s ease;
    animation: fadeInDown;
    animation-duration: 2s;
}
.blog-main-label-item:hover{
    transform: translateY(-3px);
}
.blog-main-label-item.active{
    pointer-events: none;
    cursor: not-allowed;
    background-color: gray !important;
    text-decoration: none;
}
.blog-main-search{
    margin-bottom: 20px;
}

/* ==================================================*/
/* BLOG END */
/* ==================================================*/

/* ==================================================*/
/* MARKDOWN START */
/* MARKDOWN CSS 根据Happysimple大佬的Typora-theme-Happysimple样式进行二次魔改 */
/* Typora-theme-Happysimple v1.0.3-alpha1 (https://github.com/HappySimple/Typora-theme-Happysimple)*/
/* Licensed under MIT (https://github.com/HappySimple/Typora-theme-Happysimple?tab=MIT-1-ov-file)*/
/* ==================================================*/
.markdown{
    font-family: Consolas,"Ali_PuHuiTi",sans-serif;
    font-weight: 200;
    word-break: keep-all;
    white-space: normal;
    overflow-wrap: normal;
}
.markdown.mobile-markdown{
    word-break: break-all !important;
    overflow-wrap: break-word !important;
}
.markdown > :first-child{
    margin-top: 0;
}
.markdown h1 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
    margin: 30px 0;
}
.markdown h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #333;
    margin: 25px 0;
}
.markdown h3 {
    font-size: 1.75rem;
    font-weight: 300;
    color: #444;
    margin: 20px 0;
}
.markdown h4 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #444;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.markdown h5 {
    font-size: 1.25rem;
    font-weight: 300;
    color: #555;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.markdown h6 {
    font-size: 1rem;
    font-weight: 300;
    color: #555;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .markdown h1 {
        font-size: 2rem;
    }
    .markdown h2 {
        font-size: 1.75rem;
    }
    .markdown h3 {
        font-size: 1.5rem;
    }
    .markdown h4 {
        font-size: 1.25rem;
    }
    .markdown h5 {
        font-size: 1rem;
    }
    .markdown h6 {
        font-size: 0.875rem;
    }
}

.markdown img{
    max-width: 90%;
    margin: 20px auto;
    display: block;
}

.markdown table{
    margin: 10px auto;
    border-collapse: collapse;
    border-spacing: 0;
    overflow: auto;
    break-inside: auto;
    padding: 0;
    line-height: 1.5;
    font-size: 1rem;
    text-align: center;
    width: 80%;
}
.markdown .table-overflow{
    overflow-x: auto;
}
.markdown table tr{
    border: none;
    background-color: #fff;
}
.markdown table tr:nth-last-child(1) {
    border-bottom: 2px solid #000;
}

.markdown table tr th {
    padding: 5px 10px;
    font-weight: 400;
    border-top: 2px solid #000;
}
.markdown table tr td {
    padding: 5px 10px;
    font-weight: 200;
}

.markdown ul, ol {
    padding-left: 30px;
}

.markdown p,
.markdown ul,
.markdown ol,
.markdown dl,
.markdown table,
.markdown blockquote {
    margin: 0.8em 0;
}
.markdown li > ol,
.markdown li > ul {
    margin: 5px 0;
}
.markdown li::marker{
    font-weight: 300;
}
.markdown code:not([class]){
    margin: 0;
    padding: 2px 4px;
    vertical-align: baseline;
    font-size: 1rem;
    color: #000;
    border-radius: 2px;
    background: rgb(255, 255, 255);
    border: 2px solid #000;
    box-shadow: rgba(12, 13, 14, 0.2) 0 1px 0, rgb(255, 255, 255) 0 0 0 2px inset;
    font-weight: 400;
}
.markdown strong{
    padding: 0;
    font-weight: bold;
    text-shadow: 1px 1px 2px #FC0;
}
.markdown hr {
    margin: 0;
    padding: 0;
    width: 100%;
    border: none;
    border-bottom: 2px dashed #db524f;
}

.markdown blockquote{
    padding: 0 15px;
}

.markdown blockquote:not([class])  {
    border-left: 4px solid #dfe2e5;
    color: #777777;
}
.markdown blockquote[class] p:first-child{
    display: inline;
    text-align: center;
    vertical-align: baseline;
    padding: 4px 4px;
    border-radius: 3px;
    font-weight: 300;
}
.markdown blockquote[class*=note]{
    border-left: 5px solid #5fa7e4;
}
.markdown p[class*=note-p]{
    background-color: #e4edf6;
}
.markdown blockquote[class*=tip]{
    border-left: 5px solid #5cb85c;
}
.markdown p[class*=tip-p]{
    background-color: #eef7f0;
}
.markdown blockquote[class*=important]{
    border-left: 5px solid #a68bff;
}
.markdown p[class*=important-p]{
    background-color: #f3f0ff;
}
.markdown blockquote[class*=warning]{
    border-left: 5px solid #f0ad4e;
}
.markdown p[class*=warning-p]{
    background-color: #FFFACD;
}
.markdown blockquote[class*=caution]{
    border-left: 5px solid #db524f;
}
.markdown p[class*=caution-p]{
    background-color: #fdeaea;
}
.markdown a{
    margin: 2px;
    padding: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #61abff;
    background-color: #fff;
    border-bottom: 2px solid #000;
    text-decoration: none;
    cursor: pointer;
}
.markdown del{
    text-decoration-line: line-through;
    text-decoration-color: #fe5f58;
    text-decoration-style: solid;
    text-decoration-thickness: 2px;
}
.markdown u{
    text-decoration-line: underline;
    text-decoration-color: #fe5f58;
    text-decoration-style: solid;
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;
    text-decoration-skip-ink: none;
}
.markdown em{
    text-decoration-line: underline;
    text-decoration-color: #fe5f58;
    text-decoration-style: wavy;
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;
    text-decoration-skip-ink: none;
}

/* ==================================================*/
/* MARKDOWN END */
/* ==================================================*/

/* ==================================================*/
/* BLOG CONTENT START */
/* ==================================================*/

/* 目录容器 */
.blog-directory {
    top: 0;
    overflow-x: hidden;
    overflow-y: auto;
    height: 95vh;
}

/* 移除默认列表样式 */
.blog-directory ul {
    list-style-type: none;
    padding-left: 0;
}

/* 目录项 */
.blog-directory li {
    margin-bottom: 5px;
}

/* 链接样式 */
.blog-directory a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

@media (min-width: 0) and (max-width: 768px) {
    .blog-directory a {
        font-size: 12px;
    }
}
@media (min-width: 768px) and (max-width: 992px) {
    .blog-directory a {
        font-size: 13px;
    }
}
@media (min-width: 992px) and (max-width: 1400px) {
    .blog-directory a {
        font-size: 14px;
    }
}

.blog-directory a:hover {
    background-color: #f0f0f0;
    color: #007bff;
}

/* 图标 */
.blog-directory a .toggle-icon {
    cursor: pointer;
    user-select: none;
}

/* 嵌套缩进 */
.blog-directory ul ul {
    padding-left: 20px;
    margin-top: 5px;
}

/* 添加文件夹和文件图标 */
.blog-directory .folder::before {
    content: '📂';
    margin-left: 20px;
}

.blog-directory .file::before {
    content: '📄';
    margin-right: 8px;
    margin-left: 20px;
}

.self-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transform: translateX(-110%); /* 默认隐藏在左侧 */
    transition: transform 0.5s ease-in-out; /* 添加平滑过渡效果 */
}

/* 当侧边栏显示时，通过添加 active 类移动到视口内 */
.self-offcanvas.active {
    transform: translateX(0);
}

.fixed-icon {
    text-align: center;
    font-size: 15px;
    line-height: 40px;
    cursor: pointer;
    color: black;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
}

.fixed-icon i{
    font-style: normal;
}

.markdown-title{
    font-size: 65px;
    font-family: "Ali_PuHuiTi", sans-serif;
    color: #81353c;
}
.markdown-other{
    font-size: 15px;
    font-family: "Ali_PuHuiTi", sans-serif;
    color: #493739;
}

@media (max-width: 768px) {
    .markdown-title{
        font-size: 50px;
    }
}
@media (min-width: 768px) {
    #blog-content-btn-group a,#blog-content-btn-group div{
        right: 50px;
    }
    /*.fixed-icon {*/
    /*    width: 60px;*/
    /*    height: 60px;*/
    /*}*/
}

.blog-copyright{
    margin: 25px 0;
    padding: 10px 24px 10px 15px;
    background: #eaeaea;;
    border-left: 5px solid #FB7299;;
    border-radius: 2px;
}
.blog-copyright p{
    font-size: 14px;
    line-height: 1.6em;
    margin: 0;
}

/* ==================================================*/
/* BLOG CONTENT END */
/* ==================================================*/

/* ==================================================*/
/* 单次记忆 START */
/* ==================================================*/

.word-container p {
    margin: 0;
}
.word-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #FFDAB9;
}
.word-body{
    width: 90%;
    text-align: center;
}
.word-select-empty{
    margin-left: 50px;
    margin-right: 50px;
}
.word-body-show{
    height: 300px;
}
.green-bb{
    border-bottom: 3px solid green;
}
.red-bb{
    border-bottom: 3px solid red;
}
.orange-bb{
    border-bottom: 3px solid orange;
}
.pink-bb{
    border-bottom: 3px solid lightpink;
}
.word-en{
    --word-font-size: 2.7rem;
}
.word-cn{
    --word-font-size: 2.4rem;
}
.word-cn-label{
    --word-font-size: 1.4rem;
}
.word-select{
    --word-font-size: 1.8rem;
}
.word-font{
    font-family: Consolas, sans-serif;
    font-size: var(--word-font-size);
}

/* ==================================================*/
/* 单次记忆 END */
/* ==================================================*/

/* ==================================================*/
/* 漂亮input START */
/* ==================================================*/

.input-beauty-div{
    width: 100%;
}

.input-beauty-text {
    width: 100%;
    height: 40px;
    padding: 10px;
    transition: .2s linear;
    border: 2px solid black;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.input-beauty-text:focus {
    outline: none;
    border: 1px solid black;
    box-shadow: -5px -5px 0 black;
}

.input-beauty-div:hover > .icon {
    animation: anim 1s linear infinite;
}

@keyframes anim {
    0%,
    100% {
        transform: translateY(calc(-50% - 5px)) scale(1);
    }

    50% {
        transform: translateY(calc(-50% - 5px)) scale(1.1);
    }
}

.input-checked-beauty{
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
    border: 1px solid rgba(101, 109, 119, .16);
    border-radius: 3px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
}

/* ==================================================*/
/* 漂亮input END */
/* ==================================================*/

/* ==================================================*/
/* 工具仓库 START */
/* ==================================================*/

.tools-hub-card{
    padding: .5rem;
    height: 200px;
    max-height: 200px;
}
.tools-hub-card-body:hover{
    box-shadow: 2px 10px 10px 0 rgba(94, 94, 100, 0.2);
}
.tools-hub-card-body{
    background-color: #FFFFFF;
    border: 1px solid #d0d1d9;
    padding: 10px;
    height: 180px;
    max-height: 180px;
    border-radius: 10px;
    transition: box-shadow .4s ease-in-out;
}
.tools-hub-card-title{
    font-weight: 500;
    font-size: 1.3rem;
    font-family: Consolas, sans-serif;
    margin-bottom: 0 !important;
}
.tools-hub-card-tip-inside{
    color: #fff;
    background-color: #52e7d0;
}
.tools-hub-card-tip-outside{
    color: #fff;
    background-color: #ff3b00;
}
.tools-hub-card-tip-lose{
    color: #fff;
    background-color: #918e8e;
}
.tools-hub-card-tip-open{
    color: #fff;
    background-color: #45d786;
}
.tools-hub-card-tip-private{
    color: #fff;
    background-color: #e746e7;
}
.tools-hub-card-tip{
    border-radius: 10rem;
    display: inline-block;
    padding: .25rem .375rem;
    font-size: 65% !important;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    margin: 8px 5px 0 0;
}

.tools-hub-btn-toggle {
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
    font-size: 22px;
}
.tools-hub-btn-collapse-ul{
    list-style: none;
    padding-left: 35px;
}

/* ==================================================*/
/* 工具仓库 END */
/* ==================================================*/

/* ==================================================*/
/* 工具 START */
/* ==================================================*/

.tool-card{
    font-family: "ym-font", sans-serif;
    max-width: 800px;
    margin: auto;
    padding: 20px;
}
.tool-card-title{
    font-size: 1.8rem;
}
.tool-card-describe{
    font-size: 0.9rem;
}

/* ==================================================*/
/* 工具 END */
/* ==================================================*/


.timeline-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    /* 稍微加深一点背景遮罩，让文字更清晰 */
    background: rgba(15, 15, 15, 0.6);
    min-height: 100vh;
}

.timeline-header {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 60px;
    font-weight: 800;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 10px var(--primary-color);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px var(--primary-color); }
    to { text-shadow: 0 0 20px var(--primary-color), 0 0 10px var(--secondary-color); }
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* 中央光束线条 */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), var(--secondary-color), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--primary-color);
    border-radius: 2px;
}

/* 年份标签 */
.year-marker {
    display: table;
    margin: 0 auto 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    animation: slideIn 0.8s forwards;
}

/* 奇数在左，偶数在右 */
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

/* 动画延迟，制造阶梯感 */
.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }

/* 中心节点圆点 */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #fff;
    border: 4px solid var(--secondary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-item:hover::after {
    background-color: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 20px var(--primary-color);
}

/* 毛玻璃卡片 */
.timeline-content {
    padding: 20px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* 卡片悬浮光效 */
.timeline-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    pointer-events: none;
    transition: 0.5s;
    opacity: 0;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.timeline-item:hover .timeline-content::before {
    opacity: 1;
}

.date-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 5px;
}

.timeline-content p {
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 300;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .timeline-container::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { text-align: left; }
    .timeline-item::after { left: 21px; }
    .timeline-item:nth-child(odd)::after { left: 21px; }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}