/* 博客园自定义主题 - VitePress Style */

/* 全局样式重置 */
:root {
    --vp-c-brand: #3eaf7c;
    --vp-c-brand-light: #4abf8a;
    --vp-c-bg: #ffffff;
    --vp-c-bg-soft: #f9f9f9;
    --vp-c-text-1: #213547;
    --vp-c-text-2: #374151;
    --vp-c-text-3: #6b7280;
    --vp-c-divider: #e5e7eb;
    --vp-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --vp-shadow-1: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --vp-shadow-2: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --vp-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --vp-c-bg: #1e1e1e;
        --vp-c-bg-soft: #252529;
        --vp-c-text-1: #ffffff;
        --vp-c-text-2: #9e9e9e;
        --vp-c-text-3: #7a7a7a;
        --vp-c-divider: #303030;
    }
}

body {
    font-family: var(--vp-font-family);
    color: var(--vp-c-text-1);
    background-color: var(--vp-c-bg);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

/* 增强版头部样式 */
#header {
    display: flex;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 100;
    background-color: var(--vp-c-bg);
    border-bottom: 1px solid var(--vp-c-divider);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 博客标题 */
#blogTitle {
    display: flex;
    align-items: center;
    padding-left: 240px;
}

#blogTitle h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

#blogTitle h1 a {
    color: var(--vp-c-brand);
    text-decoration: none;
    transition: var(--vp-transition);
}

#blogTitle h1 a:hover {
    opacity: 0.8;
}

#blogTitle h2 {
    display: none;
}

/* 导航菜单 */
#navigator {
    display: flex;
    align-items: center;
    margin-left: auto;
}

#navList {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding-right: 240px;
}

#navList li {
    margin: 0;
}

#navList a {
    color: var(--vp-c-text-2);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--vp-transition);
    padding: 8px 0;
    position: relative;
}

#navList a:hover {
    color: var(--vp-c-text-1);
}

#navList a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vp-c-brand);
    transition: width 0.3s ease;
}

#navList a:hover:after {
    width: 100%;
}

/* 当前活动的导航项 */
#navList a.current {
    color: var(--vp-c-brand);
}

#navList a.current:after {
    width: 100%;
}

/* 为了确保header内的元素排列正确 */
#blog-news, #profile_block, #sidebar_news, #sidebar_c1, #sidebar_c2, #sidebar_c3 {
    display: none;
}

/* 调整整体布局，为固定顶部导航腾出空间 */
#main {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 24px;
}

/* 博客统计信息样式 - 放在header中 */
.blogStats {
    display: none;
}

/* 内容页布局结构 */
#mainContent {
    max-width: 800px;
    margin: 0 auto;
}

/* 调整文章列表布局 */
.post {
    padding: 1.5rem 0;
    border-bottom: 1px dashed var(--vp-c-divider);
}

.post:last-child {
    border-bottom: none;
}

/* 文章日期标题 */
.dayTitle {
    color: var(--vp-c-brand);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* 改进文章标题样式 */
.postTitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: var(--vp-transition);
}

/* 调整文章内容区域 */
.postBody {
    max-width: 800px;
    margin: 0 auto;
}

/* 针对文章阅读页优化 */
.post {
    max-width: 800px;
    margin: 0 auto;
}

/* 优化单文章页面标题样式 */
.postDesc.post-desc-detail {
    margin-bottom: 2rem;
}

/* 侧边栏样式 */
#sideBar {
    display: none;
}

/* 页脚样式 */
#footer {
    background: var(--vp-c-bg);
    color: var(--vp-c-text-3);
    padding: 2rem 0;
    margin-top: 4rem;
    font-size: 0.875rem;
    border-top: 1px solid var(--vp-c-divider);
    position: relative;
    text-align: center;
}

.footer-content {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

/* 版权信息样式 */
#footer .copyright {
    color: var(--vp-c-text-2);
    font-size: 0.875rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

/* 页脚技术栈信息 */
#footer .powered-by {
    color: var(--vp-c-text-3);
    font-size: 0.8125rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

/* ====== 进度条 ====== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--vp-c-brand);
    width: 0;
    z-index: 1000;
    transition: width 0.3s ease;
}

/* ====== 返回顶部按钮 ====== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--vp-c-bg-soft);
    color: var(--vp-c-text-2);
    border: 1px solid var(--vp-c-divider);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--vp-transition);
    z-index: 99;
}

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

.back-to-top:hover {
    background: var(--vp-c-bg-mute);
    color: var(--vp-c-brand);
    transform: translateY(-3px);
}

/* 统计信息 */
#stats_post_count,
#stats_article_count,
#stats_comment_count,
#stats-total-view-count {
    color: var(--vp-c-text-2);
    font-weight: 500;
}

/* 代码块样式 */
pre {
    background: var(--vp-c-bg-soft);
    border-radius: 6px;
    /* padding: 1rem; */
    margin: 1rem 0;
    border: 1px solid var(--vp-c-divider);
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.5;
}

code {
    font-family: 'Fira Code', Consolas, Monaco, monospace;
    color: var(--vp-c-text-1);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--vp-c-text-3);
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: var(--vp-c-bg-soft);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }
    
    #navList {
        gap: 16px;
    }
    
    #navList a {
        font-size: 0.85rem;
    }
    
    #blogTitle h1 {
        font-size: 1.2rem;
    }
    
    #main, #blogTitle, #navList, .blogStats, .footer-content {
        padding: 0 16px;
    }
    
    #header {
        padding: 1rem 0;
    }
    
    .blogStats {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .postTitle {
        font-size: 1rem;
    }

    #footer {
        padding: 1.5rem 0;
    }

    .footer-content {
        padding: 0 16px;
        gap: 0.75rem;
    }

    #footer .copyright,
    #footer .powered-by {
        width: 100%;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

#cnblogs_post_body th, .blogpost-body th {
    background-color: #1e1e1e;
}

/* 暗色主题适配 */
@media (prefers-color-scheme: dark) {
    .back-to-top {
        background: var(--vp-c-bg-soft);
    }
}

/* 链接样式 */
a {
    color: var(--vp-c-brand);
    text-decoration: none;
    transition: var(--vp-transition);
}

a:hover {
    color: var(--vp-c-brand-light);
}

/* 文章内容样式 */
.postBody {
    color: var(--vp-c-text-1);
    line-height: 1.7;
}

.postBody h1,
.postBody h2,
.postBody h3,
.postBody h4,
.postBody h5,
.postBody h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

.postBody h1 {
    font-size: 1.9rem;
}

.postBody h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid var(--vp-c-divider);
    padding-bottom: 0.3rem;
}

.postBody h3 {
    font-size: 1.25rem;
}

.postBody p {
    margin: 1rem 0;
}

.postBody ul,
.postBody ol {
    padding-left: 1.25rem;
    margin: 1rem 0;
}

.postBody li {
    margin: 0.5rem 0;
}

.postBody img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.postBody blockquote {
    margin: 1rem 0;
    border-left: 4px solid var(--vp-c-brand);
    padding: 0.5rem 0 0.5rem 1rem;
    color: var(--vp-c-text-2);
    background: var(--vp-c-bg-soft);
}

/* 表格样式 */
.postBody table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.postBody th,
.postBody td {
    border: 1px solid var(--vp-c-divider);
    padding: 0.6rem 1rem;
    text-align: left;
}

.postBody th {
    background: var(--vp-c-bg-soft);
    font-weight: 600;
} 

#under_post_card2 {
    display: none;
}

#under_post_card1 {
    display: none;
}

/* TOC目录样式 */
.toc {
    position: relative;
    padding: 16px;
    background: var(--vp-c-bg-soft);
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

/* TOC标题 */
.toc h3 {
    color: var(--vp-c-text-1);
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 12px 0;
    padding: 0;
}

/* TOC列表 */
.toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc li {
    margin: 0;
    padding: 0;
}

/* TOC链接 */
.toc a {
    display: block;
    padding: 6px 0;
    color: var(--vp-c-text-2);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: var(--vp-transition);
    border-left: 2px solid transparent;
    padding-left: 1rem;
}

.toc a:hover {
    color: var(--vp-c-brand);
    border-left-color: var(--vp-c-brand);
    background: rgba(62, 175, 124, 0.1);
}

/* 当前激活项 */
.toc .current {
    color: var(--vp-c-brand) !important;
    border-left-color: var(--vp-c-brand);
    background: rgba(62, 175, 124, 0.1);
}

/* 暗色主题适配 */
@media (prefers-color-scheme: dark) {
    .toc {
        background: var(--vp-c-bg-soft);
    }
    
    .toc a:hover,
    .toc .current {
        background: rgba(62, 175, 124, 0.1);
    }
}

/* 分页导航样式 */
.pager, #nav_next_page {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

#homepage_top_pager {
    display: none;
}

.pager a, #nav_next_page a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    font-size: 0.875rem;
    color: var(--vp-c-text-2);
    background: var(--vp-c-bg-soft);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s;
    font-weight: 500;
}

.pager a:hover, #nav_next_page a:hover {
    color: var(--vp-c-text-1);
    background: var(--vp-c-bg-mute);
}

/* 当前页面 */
.pager a[href="javascript:void(0)"] {
    color: var(--vp-c-text-1);
    background: var(--vp-c-brand);
    font-weight: 500;
    cursor: default;
}

/* 上一页/下一页按钮 */
.pager a:first-child,
.pager a:last-child {
    padding: 0 12px;
}

/* 确保首页的下一页导航显示在正确位置 */
#nav_next_page {
    margin-top: 2rem;
}

/* 暗色主题适配 */
@media (prefers-color-scheme: dark) {
    .pager a, #nav_next_page a {
        background: var(--vp-c-bg-mute);
    }
    
    .pager a:hover, #nav_next_page a:hover {
        background: var(--vp-c-bg-soft);
    }
    
    .pager a[href="javascript:void(0)"] {
        background: var(--vp-c-brand);
        color: #ffffff;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pager, #nav_next_page {
        gap: 6px;
        padding: 0 10px;
    }
    
    .pager a, #nav_next_page a {
        min-width: 36px;
        height: 36px;
        font-size: 0.875rem;
        padding: 0 8px;
        touch-action: manipulation;
    }

    .pager a:not(:first-child):not(:last-child):not([href="javascript:void(0)"]):not(:nth-last-child(2)):not(:nth-child(2)) {
        display: none;
    }

    .pager a:first-child,
    .pager a:last-child {
        min-width: auto;
        padding: 0 12px;
        flex: 0 0 auto;
    }

    .pager a[href="javascript:void(0)"] {
        min-width: 36px;
        height: 36px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 360px) {
    .pager, #nav_next_page {
        gap: 4px;
    }
    
    .pager a, #nav_next_page a {
        min-width: 32px;
        height: 32px;
        font-size: 0.8125rem;
        padding: 0 6px;
    }
}

#comment_nav {
    display: none;
}

/* 文章列表整体样式 */
.day {
    background: var(--vp-c-bg);
    border: none;
    padding: 0;
    margin-bottom: 3rem;
}

/* 文章标题链接样式 */
.postTitle a {
    color: var(--vp-c-text-1);
    text-decoration: none;
    transition: var(--vp-transition);
}

.postTitle a:hover {
    color: var(--vp-c-brand);
}

/* 文章详情页标题样式 */
.postTitle #cb_post_title_url {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vp-c-text-1);
    line-height: 1.3;
    margin-bottom: 1rem;
    display: block;
}

/* 文章摘要样式 */
.postCon {
    color: var(--vp-c-text-2);
    font-size: 0.95rem;
    margin: 0.75rem 0;
    line-height: 1.7;
}

/* 文章元信息样式 */
.postDesc {
    color: var(--vp-c-text-3);
    font-size: 0.875rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ====== 文章详情页标题样式 ====== */
.post-desc-detail {
    margin-bottom: 2rem !important;
    border-bottom: 1px solid var(--vp-c-divider);
    padding-bottom: 1rem;
}

/* 详情页标题 */
#cb_post_title_url {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vp-c-text-1);
    line-height: 1.3;
    margin-bottom: 1rem;
    display: block;
}

/* 列表页文章日期标题 */
.entrylistTitle, .entrylistPosttitle {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 设置主页内容最大宽度 */
.forFlow {
    width: 100%;
}

/* ====== 布局结构 ====== */

/* 主内容区 */
#main {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 24px;
}

/* 文章详情页居中布局 */
#mainContent {
    max-width: 800px;
    margin: 0 auto;
}

/* ====== 小鬼动画样式 ====== */
.scene-container {
    position: fixed;
    width: 140px;
    height: 160px;
    z-index: 10000;
    pointer-events: auto;
    cursor: pointer;
}

.scene-container:focus {
    outline: none;
}

.scene-container.run-away .ghost {
    transform: rotateX(-10deg) scale3d(1.4, 4, 1) translate3d(0, 130%, -30px);
    transition: transform 800ms ease;
}

.scene-container.descend .ghost {
    transform: translate3d(0, 130%, 0);
}

.ghost-container {
    position: relative;
    width: 80px;
    height: 140px;
    padding: 20px 30px 0 30px;
    overflow: hidden;
    perspective: 30px;
}

.ghost {
    position: relative;
    height: 115px;
    z-index: 1;
    transition: transform 2000ms ease-out;
}

.ghost.hover {
    animation: hover 600ms ease-in-out infinite alternate;
}

.ghost-head {
    position: relative;
    width: 80px;
    height: 0;
    padding-top: 100%;
    border-radius: 100%;
    background-color: #F0EFDC;
}

.ghost-head .ghost-face {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 50px;
    height: 30px;
    z-index: 1;
}

.eyes-row, .mouth-row {
    position: relative;
    height: 10px;
}

.mouth-row {
    margin-top: 3px;
}

.eye {
    height: 10px;
    width: 10px;
    background-color: #271917;
    border-radius: 100%;
    position: absolute;
    bottom: 0;
    transition: height 50ms ease;
}

.eye.left {
    left: 5px;
}

.eye.right {
    right: 5px;
}

.eye.blink {
    height: 0;
}

.mouth {
    position: absolute;
    left: 50%;
    top: 0;
    height: 10px;
    transform: translate3d(-50%, 0, 0);
}

.mouth .mouth-top {
    width: 18px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background-color: #271917;
}

.mouth .mouth-bottom {
    position: absolute;
    width: 18px;
    height: 8px;
    bottom: 0;
    overflow: hidden;
    transition: height 150ms ease;
}

.mouth .mouth-bottom:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 18px;
    height: 16px;
    border-radius: 100%;
    background-color: #271917;
}

.mouth.open .mouth-bottom {
    height: 16px;
}

.mouth.closed .mouth-bottom {
    height: 0;
}

.cheek {
    position: absolute;
    top: 0;
    width: 12px;
    height: 4px;
    background-color: #F5C1B6;
    border-radius: 100%;
}

.cheek.left {
    left: 0;
}

.cheek.right {
    right: 0;
}

.ghost-body {
    position: absolute;
    top: 40px;
    height: 0;
    width: 80px;
    padding-top: 85%;
    background-color: #F0EFDC;
}

.ghost-hand {
    height: 36px;
    width: 22px;
    background: #F0EFDC;
    border-radius: 100%/90%;
    position: absolute;
}

.ghost-hand.hand-left {
    left: -12px;
    top: 10px;
    transform: rotateZ(-45deg);
    left: 0;
    top: 5px;
    transform-origin: bottom center;
}

.ghost-hand.hand-left.waving {
    animation: waving 400ms linear;
}

.ghost-hand.hand-right {
    right: -12px;
    top: 10px;
    transform: rotateZ(45deg);
}

.ghost-skirt {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    transform: translateY(50%);
}

.ghost-skirt .pleat {
    width: 20%;
    height: 8px;
    border-radius: 100%;
}

.ghost-skirt .pleat.down {
    background-color: #F0EFDC;
}

.ghost-skirt .pleat.up {
    background-color: transparent;
    position: relative;
    top: 1px;
}

.shadow-container {
    transition: transform 800ms ease;
}

.shadow-container.disappear {
    transform: scale3d(0, 1, 1);
    transition: transform 400ms ease;
}

.shadow {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(27, 29, 24, 0.3);
    border-radius: 100%;
    z-index: -1;
}

.shadow-bottom {
    position: absolute;
    top: 100%;
    left: 0;
    height: 4px;
    width: 100%;
    overflow: hidden;
}

.shadow-bottom:after {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    height: 8px;
    left: 0;
    bottom: 0;
    border-radius: 100%;
    background-color: rgba(27, 29, 24, 0.1);
    z-index: 2;
}

.star {
    position: absolute;
    animation: twinkle 2s infinite linear;
    transition: top 400ms ease-out, left 400ms ease-out;
}

.star.round .star-element {
    height: 9px;
    width: 9px;
    border-radius: 100%;
}

.star.pointy {
    transform: rotate(-15deg);
}

.star.pointy .star-element {
    height: 6px;
    width: 6px;
}

.star.pointy .star-element:before, .star.pointy .star-element:after {
    content: "";
    display: block;
    position: absolute;
    background: green;
    border-radius: 6px;
}

.star.pointy .star-element:before {
    height: 6px;
    width: 12px;
    left: -3px;
    top: 0;
    transform: skewX(60deg);
}

.star.pointy .star-element:after {
    height: 12px;
    width: 6px;
    right: 0;
    bottom: -3px;
    transform: skewY(-60deg);
}

.star.orange .star-element, .star.orange .star-element:before, .star.orange .star-element:after {
    background-color: #DF814D;
}

.star.yellow .star-element, .star.yellow .star-element:before, .star.yellow .star-element:after {
    background-color: #FFD186;
}

.star.blue .star-element, .star.blue .star-element:before, .star.blue .star-element:after {
    background-color: #83D0BC;
}

.star-1 {
    top: 130%;
    left: 40%;
    transition-delay: 200ms;
    animation-delay: 0ms;
    z-index: 2;
}

.star-2 {
    top: 130%;
    left: 44%;
    transition-delay: 250ms;
    animation-delay: 200ms;
}

.star-3 {
    top: 130%;
    left: 48%;
    transition-delay: 300ms;
    animation-delay: 400ms;
    z-index: 2;
}

.star-4 {
    top: 130%;
    left: 52%;
    transition-delay: 350ms;
    animation-delay: 600ms;
}

.star-5 {
    top: 130%;
    left: 56%;
    transition-delay: 400ms;
    animation-delay: 800ms;
    z-index: 2;
}

.star-6 {
    top: 130%;
    left: 60%;
    transition-delay: 450ms;
    animation-delay: 1000ms;
}

.move-stars-out .star-element {
    animation: star-entrance 1500ms;
}

.stars-out .star {
    transition: top 1500ms ease-out, left 1500ms ease-out;
}

.stars-out .star-1 {
    top: 75%;
    left: 6%;
}

.stars-out .star-2 {
    top: 35%;
    left: 88%;
}

.stars-out .star-3 {
    top: 8%;
    left: 20%;
}

.stars-out .star-4 {
    top: 70%;
    left: 92%;
}

.stars-out .star-5 {
    top: 35%;
    left: 4%;
}

.stars-out .star-6 {
    top: 2%;
    left: 70%;
}

.stars-out .star-1 {
    transition-delay: 0ms, 0ms;
}

.stars-out .star-1 .star-element {
    animation-delay: 0ms;
}

.stars-out .star-2 {
    transition-delay: 200ms, 200ms;
}

.stars-out .star-2 .star-element {
    animation-delay: 200ms;
}

.stars-out .star-3 {
    transition-delay: 400ms, 400ms;
}

.stars-out .star-3 .star-element {
    animation-delay: 400ms;
}

.stars-out .star-4 {
    transition-delay: 600ms, 600ms;
}

.stars-out .star-4 .star-element {
    animation-delay: 600ms;
}

.stars-out .star-5 {
    transition-delay: 800ms, 800ms;
}

.stars-out .star-5 .star-element {
    animation-delay: 800ms;
}

.stars-out .star-6 {
    transition-delay: 1000ms, 1000ms;
}

.stars-out .star-6 .star-element {
    animation-delay: 1000ms;
}

.move-stars-in .star-element {
    animation: star-exit 400ms linear;
}

.move-stars-in .star-1 .star-element {
    animation-delay: 100ms;
}

.move-stars-in .star-2 .star-element {
    animation-delay: 150ms;
}

.move-stars-in .star-3 .star-element {
    animation-delay: 200ms;
}

.move-stars-in .star-4 .star-element {
    animation-delay: 250ms;
}

.move-stars-in .star-5 .star-element {
    animation-delay: 300ms;
}

.move-stars-in .star-6 .star-element {
    animation-delay: 350ms;
}

/* 小鬼动画关键帧 */
@keyframes hover {
    0% {
        top: 0;
    }
    100% {
        top: 8px;
    }
}

@keyframes star-entrance {
    0% {
        transform: rotate(-735deg) scale(0, 0);
    }
    100% {
        transform: rotate(0) scale(1, 1);
    }
}

@keyframes star-exit {
    0% {
        transform: rotate(0) scale(1, 1);
    }
    100% {
        transform: rotate(360deg) scale(0, 0);
    }
}

@keyframes twinkle {
    0% {
        transform: rotate(0deg) scale(1, 1);
    }
    25% {
        transform: rotate(10deg) scale(0.8, 0.8);
    }
    50% {
        transform: rotate(0deg) scale(0.9, 0.9);
    }
    75% {
        transform: rotate(-20deg) scale(0.6, 0.6);
    }
    100% {
        transform: rotate(0deg) scale(1, 1);
    }
}

@keyframes waving {
    0% {
        transform: rotate(-45deg);
    }
    25% {
        transform: rotate(-55deg);
    }
    50% {
        transform: rotate(-45deg);
    }
    75% {
        transform: rotate(-55deg);
    }
    100% {
        transform: rotate(-45deg);
    }
}

#blog_post_info_block {
    display: none;
}

.postDesc {
    display: none;
}

.commentform {
    display: none;
}