@charset "UTF-8";

/* ----

# Hingle Theme
# By: Dreamer-Paul
# Last Update: 2024.9.2

一个简洁大气，含夜间模式的 Hexo 博客模板。

本代码为奇趣保罗原创，并遵守 MIT 开源协议。欢迎访问我的博客：https://paugram.com

---- */

/* 0 - 全局
-------------------------------- */
:root{
    --blue: #6f9fc7;
    --light-blue: #9fcff7;

    --border: #ddd;
    --light-border: #eee;

    --light-background: #fff;

    --radius: .25em;
}

body{
    color: #555;
    font-weight: 300;
    background: #fafafa;
    transition: margin .3s, background .3s;
}

body:before{
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .1;
    z-index: -1;
    display: block;
    position: fixed;
    background: center/cover no-repeat;
}

::-webkit-scrollbar{
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-thumb{ background: #6f9fc7 }
::-webkit-scrollbar-thumb:hover{ background: #9fcff7 }

body::-webkit-scrollbar{
    border-left: 1px solid #eee;
    border-color: var(--light-border);
    background: rgba(255, 255, 255, .6);
}

a{
    color: #6f9fc7;
    color: var(--blue);
}
a:hover{
    color: #9fcff7;
    color: var(--light-blue);
}

h1, h2, h3, h4, h5, h6{ font-weight: normal }

hr{ border-color: #eee }

em{
    background-color: #6f9fc7;
    background-color: var(--blue);
}

.btn{
    color: #fff;
    background-color: #6f9fc7;
    background-color: var(--blue);
}
.btn:hover{
    color: #fff;
    background: #9fcff7;
    background: var(--light-blue);
}

pre{
    color: inherit;
    border: 1px solid #ddd;
    border-color: var(--border);
    background: linear-gradient(rgba(0, 0, 0, .05) 50%, transparent 0);
    background-size: auto 3em;
    background-origin: content-box;
}

blockquote{
    border-color: #6f9fc7;
    border-radius: .25em;
    border-radius: var(--radius);
    background-color: #ecf1f5;
}

input, textarea{
    background-color: #fff;
    background-color: var(--light-background);
}
input[type="text"], input[type="search"], input[type="email"], input[type="url"], textarea, code, hr, tr{
    border-color: var(--border);
}
input, textarea, pre, hr, blockquote{
    transition: border-color .3s, background .3s;
}

/* - 夜间风格 */
.dark-theme{
    color: #bbb;
    background-color: #222;

    --blue: #6e8aad;
    --light-blue: #6f9fc7;

    --border: #444;
    --light-border: #333;

    --light-background: #333;
}

/* -- 额外适配 */
.dark-theme::-webkit-scrollbar{
    border-color: transparent;
    background: rgba(255, 255, 255, .2);
}

.dark-theme img{
    filter: brightness(60%);
    -webkit-filter: brightness(60%);
}

.dark-theme pre{
    background-image: linear-gradient(rgba(255, 255, 255, .05) 50%, transparent 0);
}

.dark-theme blockquote{
    color: #ddd;
    border-color: #eb9c26;
    background-color: rgba(255, 255, 255, .05);
}

.dark-theme iframe, .dark-theme em{ opacity: .6 }

.dark-theme :not(pre) > code{
    color: #ffa5a5;
    background: rgba(255, 255, 255, .2);
}

.dark-theme .head-search input{
    background: #666;
    border-color: transparent;
}
.dark-theme .head-search input::-webkit-input-placeholder{ color: #bbb }

/* 1 - 页眉
-------------------------------- */
header{
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    position: fixed;
    line-height: 1em;
    background-color: #fff;
    background-color: var(--light-background);
    border-bottom: 1px solid #ddd;
    border-color: var(--border);
    transition: border-color .3s, background-color .3s;
}

/* - 头部标题 */
.head-title{
    left: 0;
    right: 0;
    line-height: 3.2em;
    position: absolute;
    text-align: center;
}
@media screen and (min-width: 600px){
    .head-title{ display: none }
}

/* - 头部菜单 */
.head-menu{
    display: flex;
    list-style: none;
    user-select: none;
    justify-content: center;
}

.head-menu a{
    color: inherit;
    display: block;
    cursor: pointer;
    position: relative;
    line-height: 2.25em;
}
.head-menu a:hover{ color: #ffa628 }

.head-menu .has-child > a:after{
    float: right;
    content: "\f107";
    margin-left: .3em;
    font-family: "FontAwesome";
}

/* -- 手机版 */
@media screen and (max-width: 599px){
    .head-menu{
        max-height: 0;
        padding: 0 1em;
        display: block;
        overflow-y: auto;
        border-right: .5em solid transparent;
        transition: margin .3s, max-height .3s;
    }
    .head-menu.active{
        margin: 1em 0;
        max-height: 18rem;
    }
    .head-menu .sub-menu{ margin-left: 1.5em }
    .head-menu .sub-menu a{
        display: list-item;
        list-style-type: circle;
    }

    .head-menu::-webkit-scrollbar{
        width: 8px;
        height: 8px;
    }
    .head-menu::-webkit-scrollbar-thumb{
        border-radius: 5px;
        background: rgba(0, 0, 0, .1);
    }
}

/* -- 电脑版 */
@media screen and (min-width: 600px){
    .head-menu{
        top: 0;
        left: 0;
        right: 0;
        position: absolute;
    }

    .head-menu > a, .has-child > a{
        padding: .6em 0;
        line-height: 2em;
        margin-right: 1em;
    }
    .head-menu > a:last-child{ margin-right: 0 }
}

/* - 子菜单 */
.head-menu .sub-menu a{
    line-height: 2em;
    margin-right: .05em;
}

/* -- 电脑版 */
@media screen and (min-width: 600px){
    .head-menu .has-child{
        position: relative;
    }
    .head-menu .has-child:hover > .sub-menu,
    .head-menu .has-child:focus-within .sub-menu{
        opacity: 1;
        visibility: visible;
    }

    .head-menu .sub-menu{
        opacity: 0;
        top: 3.2em;
        left: -1em;
        background-color: #fff;
        background-color: var(--light-background);
        padding: .5em 1em;
        visibility: hidden;
        position: absolute;
        white-space: nowrap;
        border: 1px solid #ddd;
        border-color: var(--border);
        border-radius: 0 0 .25em .25em;
        transition: background-color .15s, border-color .15s, opacity .15s, visibility .15s;
    }

    .head-menu .sub-menu:before{
        left: 2em;
        top: -.5em;
        width: 1em;
        height: 1em;
        content: '';
        display: block;
        background-color: #fff;
        background-color: var(--light-background);
        border: 1px solid;
        position: absolute;
        transform: rotate(-45deg);
        border-color: #ddd #ddd transparent transparent;
        border-color: var(--border) var(--border) transparent transparent;
        transition: background-color .15s, border-color .15s;
    }

    .toggle-btn{ display: none }
}

.toggle-btn, .light-btn, .search-btn{
    z-index: 1;
    float: left;
    width: 2em;
    margin: .6em;
    cursor: pointer;
    position: relative;
    border-radius: .25em;
    border-radius: var(--radius);
    transition: color .3s, background-color .3s;
}

.toggle-btn{ margin-right: 0 }
.search-btn{ float: right }

.toggle-btn:hover, .light-btn:hover, .search-btn:hover{
    background-color: rgba(0, 0, 0, .05);
}

.toggle-btn:before, .light-btn:before, .search-btn:before{
    display: block;
    text-align: center;
    font: 1em/2em "FontAwesome";
}

.toggle-btn:before{ content: "\f0c9" }
.light-btn:before{ content: "\f0eb" }
.search-btn:before{ content: "\f002" }

.head-search{
    z-index: 1;
    opacity: 0;
    float: right;
    margin: .6em 0;
    line-height: 1.5em;
    position: relative;
    pointer-events: none;
    transition: opacity .3s;
}
.head-search.active{
    opacity: 1;
    pointer-events: inherit;
}

.head-search input{
    width: 10em;
    height: 2em;
    padding: 0 .75em;
    min-height: auto;
    border-radius: 3em;
}

@media screen and (max-width: 600px){
    .head-search{
        float: none;
        margin-left: 6.5em;
        margin-right: 3.5em;
    }

    .head-search input{ width: 100% }
}

/* 2 - 正文
-------------------------------- */
main{
    padding: 3.5em 0;
    margin-top: 3.2em;
}

main img {
    height: auto;
    transition: filter .3s;
}

/* - 首页大标题 */
.home-title{
    text-align: center;
    margin-bottom: 3em;
    animation: fade-in-bottom .3s both; -webkit-animation: fade-in-bottom .3s both;
}

.home-title h1{
    color: #6e8aad;
    color: var(--blue);
}

.home-title span{
    display: block;
    margin-bottom: 1em;
    font-style: oblique;
}

/* - 社交链接 */
.home-social{
    cursor: default;
    user-select: none;
}

.home-social a{
    color: inherit;
    display: inline-block;
    vertical-align: middle;
}

.home-social i, .home-social svg{
    padding: .5em;
}

.home-social svg{
    width: 2em;
    height: 2em;
}

/* - 文章简要 */
.post-item{
    margin-bottom: 3em;
    word-break: break-word;
}
.post-item:last-child{ margin-bottom: 0 }

/* -- 动画 */
.post-item:nth-child(1){ animation: fade-in-top .3s .2s backwards; -webkit-animation: fade-in-top .3s .2s backwards; }
.post-item:nth-child(2){ animation: fade-in-top .3s .3s backwards; -webkit-animation: fade-in-top .3s .3s backwards; }
.post-item:nth-child(3){ animation: fade-in-top .3s .4s backwards; -webkit-animation: fade-in-top .3s .4s backwards; }
.post-item:nth-child(4){ animation: fade-in-top .3s .5s backwards; -webkit-animation: fade-in-top .3s .5s backwards; }
.post-item:nth-child(5){ animation: fade-in-top .3s .6s backwards; -webkit-animation: fade-in-top .3s .6s backwards; }
.post-item:nth-child(6){ animation: fade-in-top .3s .7s backwards; -webkit-animation: fade-in-top .3s .7s backwards; }
.post-item:nth-child(7){ animation: fade-in-top .3s .8s backwards; -webkit-animation: fade-in-top .3s .8s backwards; }
.post-item:nth-child(8){ animation: fade-in-top .3s .9s backwards; -webkit-animation: fade-in-top .3s .9s backwards; }
.post-item:nth-child(9){ animation: fade-in-top .3s 1s backwards; -webkit-animation: fade-in-top .3s 1s backwards; }
.post-item:nth-child(10){ animation: fade-in-top .3s 1.1s backwards; -webkit-animation: fade-in-top .3s 1.1s backwards; }

.post-item h2{ margin-bottom: .5em }

.post-item h2 a{
    line-height: 2em;
    padding-bottom: .3rem;
    border-bottom: 2px solid #eee;
    border-color: var(--light-border);
    transition: color .3s, border-color .3s;
}

.post-item .edit-link{
    font-size: 1rem;
    line-height: inherit;
}

/* - 文章属性 */
.post-meta{
    overflow: auto;
    white-space: nowrap;
}
.post-meta::-webkit-scrollbar{ height: 0 }

.post-meta a{ color: inherit }

.post-meta span, .post-meta time{
    margin-right: .8em;
    display: inline-block;
}

.post-meta span:last-child{ margin-right: 0 }

.post-meta span:before, .post-meta time:before{
    font-size: inherit;
    margin-right: .4em;
    display: inline-block;
    font-family: "FontAwesome";
}

.post-meta .date:before{ content: "\f017" }
.post-meta .category:before{ content: "\f07b" }
.post-meta .tags:before{ content: "\f02c" }
.post-meta .user:before{ content: "\f007" }
.post-meta .comments:before{ content: "\f086" }
.post-meta .view:before{ content: "\f080" }

/* - 换页 */
.page-navigator{
    cursor: default;
    margin-top: 3em;
    font-size: 1.25em;
    text-align: center;
    font-weight: normal;
    animation: fade-in-top .3s .7s both; -webkit-animation: fade-in-top .3s .7s both;
}

/* Hexo */
.page-navigator a, .page-navigator span{ padding: 0 .3em }


/* - 阅读页标题 */
.post-title, .page-title{
    margin-bottom: 1em;
    padding-bottom: 1em;
    transition: border-color .3s;
    border-bottom: 1px solid #ddd;
    border-color: var(--border);
    animation: fade-in-bottom .3s both; -webkit-animation: fade-in-bottom .3s both;
}

.post-title h2, .page-title h2{
    color: #6e8aad;
    margin-right: .25rem;
    display: inline-block;
}

.page-title h2{ margin-bottom: 0 }

/* - 编辑文章 */
.post-item .edit-link, .page-title .edit-link, .post-title .edit-link{
    display: inline-block;
}

/* - 阅读页正文 */
article a{ border-bottom: 1px dashed currentColor }
article img{
    border-radius: .25em;
    border-radius: var(--radius);
}

.post-content, .page-content{ animation: fade-in-top .3s .2s backwards; -webkit-animation: fade-in-top .3s .2s backwards; }
.post-content, .page-content, .post-near, .post-tags, .post-author{ margin-bottom: 3em }

article h1, article h2, article h3{
    margin-top: 3rem;
    scroll-margin-top: 5em;
}

article h2{ font-size: 1.15em }
article h3{ font-size: 1.10em }
article h4{ font-size: 1.05em }
article h5{ font-size: 1em }
article h6{ font-size: .9em }

article h1:before,
article h2:before,
article h3:before{
    content: "#";
    color: #6f9fc7;
    color: var(--blue);
    margin-right: .5em;
}

article h1:before{ font-weight: bold }

/* Hexo Removed */

/* - 阅读页其他文章 */
.post-near{
    animation: fade-in-top .3s .3s backwards; -webkit-animation: fade-in-top .3s .3s backwards;
}

/* - 阅读页文章标签 */
.post-tags{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2.5em;
    animation: fade-in-top .3s .3s backwards; -webkit-animation: fade-in-top .3s .3s backwards;
}
.post-tags:before{
    content: "\f02c";
    margin-right: .75em;
    font-family: "FontAwesome";
}
.post-tags a{
    margin: 0 .75em .5em 0;
}

/* - 阅读页作者信息 */
.post-author{
    display: table;
    padding: 1.5em 0;
    position: relative;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-color: var(--border);
    transition: border-color .3s, filter .3s;
    animation: fade-in-top .3s .4s backwards; -webkit-animation: fade-in-top .3s .4s backwards;
}

.post-author .author-avatar{
    width: 5em;
    display: table-cell;
    vertical-align: middle;
}

.post-author img{ border-radius: 66% }

.post-author .author-info{ margin-left: 1.5em }

.post-author h4{
    font-weight: bold;
    margin-bottom: .5em;
}

@media screen and (max-width: 800px){
    .post-author{
        margin-top: 6em;
        padding-top: 3em;
    }
    .post-author .author-avatar{
        left: 0;
        right: 0;
        top: -3em;
        margin: auto;
        position: absolute;
    }

    .post-author .author-info{ margin-left: 0 }

    .post-author h4{ text-align: center }
}

/* - 阅读页评论 */
.post-comments{
    word-break: break-word;
    scroll-margin-top: 5em;
    animation: fade-in-top .3s .5s backwards; -webkit-animation: fade-in-top .3s .5s backwards;
}

.post-comments input, .post-comments textarea{
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* -- 评论结构 */
.comment-form{ margin-bottom: 2em }

.comment-list .comment-single{
    position: relative;
    padding-left: 3.75em;
    margin-bottom: 1.5em;
    scroll-margin-top: 5em;
    transition: transform .3s;
}
.comment-list .comment-single.active{ transform: scale(1.05) }

.comment-list .comment-child{ margin-left: 2em }

/* --- 评论头像 */
.comment-list .avatar{
    top: 0;
    left: 0;
    min-width: 45px;
    max-width: 45px;
    position: absolute;
    border-radius: 100%;
    transition: filter .3s, transform .3s;
}

.comment-list .comment-single:hover .avatar{
    transform: rotate(1turn);
    -webkit-transform: rotate(1turn);
}

/* --- 评论信息 */
.comment-list .comment-meta{
    margin-bottom: .25em;
}

.comment-list .comment-time:before{
    content: "\f017";
    margin-right: .4em;
    display: inline-block;
    font-family: "FontAwesome";
}

.comment-list .comment-author,
.comment-list .comment-time{
    margin-right: .8em;
}

/* --- 评论内容 */
.comment-single .comment-reply{
    opacity: 0;
    float: right;
    line-height: 1.8;
    transition: opacity .3s;
}
.comment-single:hover .comment-reply{ opacity: 1 }

.comment-reply a, .cancel-comment-reply a{ color: #aaa }
.comment-reply a:hover, .cancel-comment-reply a:hover{ color: #555 }

.cancel-comment-reply{
    display: block;
    margin: .5em 0;
    text-align: right;
}

@media screen and (max-width: 600px){
    .comment-form button{ width: 100% }
}

/* -- 文章目录 */
.article-list{
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: 1;
    width: 15em;
    padding: 1em;
    overflow: auto;
    position: fixed;
    transform: translateY(0%);
    background-color: rgba(255, 255, 255, .5);
    transition: transform .3s, border-color .3s, opacity .3s, background-color .3s;
}
.article-list.active{
    opacity: 1;
    background-color: #fff;
    background-color: var(--light-background);
    transform: translateY(0%);
}
.article-list::-webkit-scrollbar{ width: 0; height: 0 }

.article-list h4{ text-align: center }

.article-list .title{
    padding: .25em 1em;
    display: inline-block;
    transition: border-color .3s;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-color: var(--border);
}

.article-list a{
    display: block;
    margin-bottom: .5em;
}

.article-list .item-2:before,
.article-list .item-3:before,
.article-list .item-4:before,
.article-list .item-5:before,
.article-list .item-6:before{
    margin-right: .5em;
}

.article-list .item-2:before{ content: "-" }
.article-list .item-3:before{ content: "--" }
.article-list .item-4:before{ content: "---" }
.article-list .item-5:before{ content: "----" }
.article-list .item-6:before{ content: "-----" }

@media screen and (min-width: 800px){
    body.has-trees{ margin-right: 15em }

    .dark-theme .article-list{ background-color: rgba(0, 0, 0, .1) }

    .article-list{
        top: 3.2em;
        opacity: 1;
        visibility: visible;
        border-left: 1px solid #ddd;
        border-color: var(--border);
    }
}
@media screen and (max-width: 799px){
    .article-list{
        left: 0;
        width: 100%;
        min-height: 40%;
        max-height: 80%;
        background-color: #fff;
        background-color: var(--light-background);
        transform: translateY(100%);
        border-top: 1px solid #ddd;
        border-color: var(--border);
    }
}

/* - 错误页面 */
.error-page{
    text-align: center;
    animation: fade-in-bottom .3s backwards; -webkit-animation: fade-in-bottom .3s backwards;
}

.error-page h1{
    font-size: 5em;
    line-height: 1em;
}

.error-page img{ width: 25em }

/* 3 - 页尾
-------------------------------- */
footer{
    border-top: 1px solid #eee;
    border-color: var(--light-border);
    transition: border-color .3s;
}

footer .buttons{
    right: 1em;
    bottom: 5em;
    z-index: 1;
    position: fixed;
}

footer .to-top, footer .toggle-list{
    padding: .5em;
    display: block;
    cursor: pointer;
    color: var(--primary);
    background-color: #fff;
    background-color: var(--light-background);
    border-radius: .25em;
    border-radius: var(--radius);
    border: 1px solid #ddd;
    border-color: var(--border);
    transform: translateX(5em);
    transition: color .3s, border-color .3s, background-color .3s, transform .3s;
}
footer .to-top.active{ transform: translateX(0) }
footer .to-top:before, footer .toggle-list:before{
    width: 1.5em;
    display: block;
    content: "\f062";
    text-align: center;
    font-family: "FontAwesome";
}
footer .toggle-list{
    display: none;
    margin-top: .5em;
}
footer .toggle-list:before{ content: '\f00b' }

@media screen and (max-width: 800px){
    footer .toggle-list{
        display: block;
        transform: translateX(0);
    }
}

footer .widget{ padding: 2em 0 }

/* Hexo */
footer .title-comments:after,
footer .title-recent:after,
footer .title-date:after,
footer .title-tags:after{
    float: right;
    margin-right: .75em;
    font-family: "FontAwesome";
}

footer .title-comments:after{ content: "\f0e6" }
footer .title-recent:after{ content: "\f040" }
footer .title-date:after{ content: "\f017" }
footer .title-tags:after{ content: "\f02c" }

footer .widget ul{
    margin: 0;
    list-style: none;
}

footer .widget ul li{
    overflow: hidden;
    margin-bottom: .5em;
    white-space: nowrap;
    text-overflow: ellipsis;
}
footer .widget ul li:before{
    opacity: .3;
    content: "\f105";
    margin-right: .75em;
    font-family: "FontAwesome";
}

footer .sub-footer{
    padding: 1em 0;
    text-align: center;
}

footer .sub-footer p{ font-size: .875em }

/* 4 - 附加
-------------------------------- */

/* - 打印样式 */
@media print {
    body{
        background: none;
    }

    body:before, header, .post-comments, .post-near, footer{
        display: none;
    }

    main{
        margin-top: 0;
        padding: 1.25em 0;
    }

    .post-author{
        margin-bottom: 0;
    }
}

/* - Prism 代码块样式 */
.token.comment, .token.block-comment, .token.prolog, .token.doctype, .token.cdata{ color: #7D8B99 }
.token.punctuation{ color: #5F6364 }
.token.property, .token.tag, .token.boolean, .token.number, .token.function-name, .token.constant, .token.symbol, .token.deleted{ color: #c92c2c }
.token.selector, .token.attr-name, .token.string, .token.char, .token.function, .token.builtin, .token.inserted{ color: #2f9c0a }

.token.operator, .token.entity, .token.url, .token.variable{ color: #a67f59 }
.token.atrule, .token.attr-value, .token.keyword, .token.class-name{ color: #1990b8 }
.token.regex, .token.important{ color: #e90 }

.language-css .token.string, .style .token.string {
    color: #a67f59;
    background: rgba(255, 255, 255, 0.5);
}

.token.bold { font-weight: bold }
.token.italic { font-style: italic }
.token.entity { cursor: help }
.token.important { font-weight: normal }

.namespace { opacity: .7 }

pre[class*="language-"].line-numbers {
    position: relative;
    padding-left: 3.8em;
    counter-reset: linenumber;
}

.line-numbers .line-numbers-rows {
    top: 0;
    left: 0;
    padding: 1em 0;
    user-select: none;
    position: absolute;
    pointer-events: none;
    width: 3em; /* works for line-numbers below 1000 lines */
    border-right: 1px solid #ddd;
    border-color: var(--border);
    transition: border-color .3s;

}

.line-numbers-rows > span {
    display: block;
    counter-increment: linenumber;
}

.line-numbers-rows > span::before {
    content: counter(linenumber);
    color: #999;
    display: block;
    padding-right: 0.8em;
    text-align: right;
}
/* 自定义：让文章正文段落首行自动缩进两格 */
article p {
    text-indent: 2em;
}
/* 自定义：全局字体粗细与字体修改 */
body {
    /* 1. 调粗字体：400是正常粗细，如果觉得还不够，可以改成 500 */
    font-weight: 400 !important;

    /* 2. 更换字体（可选）：下面这行我给你配了一套非常有“文学气息”的衬线体（类似小说印刷的字体）。
    font-family: "Noto Serif SC", "Songti SC", "SimSun", "Times New Roman", serif !important;*/
}
/* 自定义：调高背景图片的可见度 */
body:before {
    /* 原主题默认是 0.1（即10%）。你可以根据喜好改成 0.2 到 1.0 之间的任意数字 */
    opacity: 0.15 !important;
}
/* 自定义：隐藏文章过期提示 */
.post-content > .ks-notice {
    display: none !important;
}
/* 自定义：把标题前面的 # 换成高级感竖线 */
article h1:before, article h2:before, article h3:before {
    content: "" !important; /* 隐藏原本的井号 */
}
article h1, article h2, article h3 {
    border-left: 4px solid var(--blue); /* 添加与主题同色的左侧竖线 */
    padding-left: 12px; /* 让文字与竖线拉开一点呼吸感距离 */
    line-height: 1.2; /* 微调行高让竖线更好看 */
}
/* 自定义：在侧边目录中隐藏较深的子标题（H4/H5/H6） */
.article-list .item-2,
.article-list .item-3,
.article-list .item-4 {
    display: none !important;
}
/* 自定义：加大文章内各级标题 */
article h2 { font-size: 1.8em !important; }
article h3 { font-size: 1.6em !important; }
article h4 { font-size: 1.3em !important; }

/* 修复斜体蓝底问题，并恢复正常斜体样式 */
article em, .post-content em {
    background-color: transparent !important; /* 移除背景色 */
    color: inherit;                           /* 颜色跟随正文 */
    font-style: italic;                       /* 确保它是倾斜的 */
}

/* 自定义：社交图标修复 */
.home-social a i.fa-bilibili-icon,
.home-social a i.fa-bangumi-icon {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* 自定义：社交图标修复 - 使用你提供的原版 SVG */
.home-social a i.fa-bgm-icon,
.home-social a i.fa-bili-icon {
    display: inline-block;
    width: 1.5em;  /* 稍微放大一点点 */
    height: 1.5em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    transition: transform 0.3s;
}

/* 鼠标悬停动画 */
.home-social a:hover i.fa-bgm-icon,
.home-social a:hover i.fa-bili-icon {
    transform: scale(1.15);
}

/* Bangumi 图标 - 保持原版粉色 */
.home-social a i.fa-bgm-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M228.1 615.4a12.3 12.3 0 0 0 11.4 7.6 12.5 12.5 0 0 0 4.7-1l147.6-61.9a12.3 12.3 0 0 0 0.3-22.6l-147.6-66.2a12.3 12.3 0 1 0-10.1 22.4l121.7 54.6-121.5 50.9a12.3 12.3 0 0 0-6.6 16.1zM399 628h-159.5a12.3 12.3 0 0 0 0 24.6H399a12.3 12.3 0 0 0 0-24.6zM399 667.5h-159.5a12.3 12.3 0 0 0 0 24.6H399a12.3 12.3 0 0 0 0-24.6zM872.9 476.9l-133.3 58.4a12.3 12.3 0 0 0-0.4 22.3l133.3 64.1c1.7 0.8 3.5 1.2 5.3 1.2a12.3 12.3 0 0 0 5.3-23.4l-109.1-52.4 109.1-57.6a12.3 12.3 0 1 0-10-22.6zM877.9 628h-148.1a12.3 12.3 0 0 0 0 24.6h148.1a12.3 12.3 0 0 0 0-24.6zM877.9 667.5h-148.1a12.3 12.3 0 0 0 0 24.6h148.1a12.3 12.3 0 0 0 0-24.6zM644.9 537.1h-162.9c-4.7 0-9 2.7-10.7 6.8a12.3 12.3 0 0 0 0 11.5l81.4 145.1a12.3 12.3 0 0 0 21.5 0l81.4-145.1a12.3 12.3 0 0 0-10.7-18.3z m-81.4 132.3l-60.4-107.7h120.9z' fill='%23F9389E'/%3E%3Cpath d='M891.4 335H648.4c-6.8-15.1-19.8-28.4-36.9-38L803.1 19.3A12.3 12.3 0 0 0 782.8 5.3L588.6 286.9a147.7 147.7 0 0 0-45.4-7 151.5 151.5 0 0 0-31.9 3.4L240 4.7A12.3 12.3 0 0 0 222.4 21.9L485.1 291.7c-22.1 9.8-39.1 25.1-47.3 43.2H132.5a91.8 91.8 0 0 0-91.8 91.8V841.1a91.8 91.8 0 0 0 91.8 91.9h268l-19.9 47c-12.6 29.9 22.6 57.1 48.3 37.3L538.5 933h352.9a91.8 91.8 0 0 0 91.8-91.8V426.7a91.8 91.8 0 0 0-91.8-91.8z m34.8 463.8a60.7 60.7 0 0 1-60.7 60.7H585.7l-97.8 85.3-77 57.8 24.4-57.8 31-73.5H198.1a60.7 60.7 0 0 1-60.8-60.7V440.3a60.7 60.7 0 0 1 60.7-60.7h667.5a60.7 60.7 0 0 1 60.7 60.7z' fill='%23F9389E'/%3E%3C/svg%3E");
}

/* Bilibili 图标 - 保持原版蓝色 */
.home-social a i.fa-bili-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1129 1024'%3E%3Cpath d='M234.9 9.7a80.5 80.5 0 0 1 68.4 0c16 8.5 30.1 18.9 41.8 30.6l160.9 140.8h115.1l160.9-140.8a169 169 0 0 1 41.8-30.6 80.5 80.5 0 0 1 107.1 66.8 80.5 80.5 0 0 1-17.7 53.9 449.8 449.8 0 0 1-35.4 32.2 232.6 232.6 0 0 1-22.5 18.5h100.6a170.6 170.6 0 0 1 118.3 53.1 171.4 171.4 0 0 1 53.9 118.3v462.7a325.9 325.9 0 0 1-4 70 178.6 178.6 0 0 1-80.5 112.7 173 173 0 0 1-92.5 25.7h-738.7a341.2 341.2 0 0 1-72.4-4 177.8 177.8 0 0 1-105.5-51.5 172.2 172.2 0 0 1-27.4-92.5V388.7a360.5 360.5 0 0 1 0-66.8A177 177 0 0 1 162.5 178.6h105.4a268 268 0 0 1-46.7-39.4 80.5 80.5 0 0 1-25.7-66 80.5 80.5 0 0 1 39.4-63.5M216.4 321.9a80.5 80.5 0 0 0-63.6 57.9c-2.3 9.9-3.4 20.2-3.4 30.6v380.6a80.5 80.5 0 0 0 55.5 80.5c11.2 4 22.9 5.8 34.6 5.6h654.2a80.5 80.5 0 0 0 76.4-47.5c5.3-11.8 8.1-24.5 8.1-53.1v-354.1a135.2 135.2 0 0 0 0-38.6 80.5 80.5 0 0 0-52.3-54.7 129.6 129.6 0 0 0-49.9-7.2h-654.2z' fill='%2320B0E3'/%3E%3Cpath d='M348.4 447.4a80.5 80.5 0 0 1 55.5 18.5 80.5 80.5 0 0 1 28.2 59.5v80.5a80.5 80.5 0 0 1-16.1 51.5 80.5 80.5 0 0 1-132-9.7 104.6 104.6 0 0 1-10.4-54.7v-80.5a80.5 80.5 0 0 1 70-67.6z m416 0a80.5 80.5 0 0 1 86.1 75.6v80.5a94.1 94.1 0 0 1-12.1 53.1 80.5 80.5 0 0 1-132.8 0 95.8 95.8 0 0 1-12.8-57.1V519a80.5 80.5 0 0 1 70-70.8z' fill='%2320B0E3'/%3E%3C/svg%3E");
}