@charset "utf-8";

body {
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 400;
    font-family: 'Noto Sans SC',"SF Pro SC","SF Pro Text","SF Pro Icons",PingFang SC,Lantinghei SC,Microsoft Yahei,Hiragino Sans GB,Microsoft Sans Serif,WenQuanYi Micro Hei,sans-serif;
    overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
}

img {
	display: block;
}

.text-primary {
	padding: 0 .8rem;
	font-family: "iconfont";
}

em,
i {
	font-style: normal;
}

h1, h2 {
    font-weight: unset;
}

h1 {
    font-size: 1.37em
}

h1,
h2 {
    font-weight: unset
}

h2 {
    font-size: 1.27em
}

h3 {
    font-size: 1.17em
}

h3,
h4,
h5,
h6 {
    font-weight: unset
}

h4,
h5,
h6 {
    font-size: 1em
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 12rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all .15s ease-in-out;
    pointer-events: none;
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all .15s ease-in-out;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
}

.dropdown {
    position: relative;
    display: inline-block
}

@keyframes easyinout {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.action {
    animation-name: easyinout;
    animation-duration: .4s;
    animation-timing-function: linear;
}

#search_bar {
	display: none;
}

#headers .search_btn,
#headers #toggle-dark-mode {
	cursor: pointer;
}

#headers .search_frame {
	font-size: 0.875rem;
}

#headers .search_input {
    width: 100%;
    padding-top: .4rem;
    border: none;
    outline: none;
    height: 2.062rem;
}

#headers .submit {
	display: none;
}

#headers #sou_none {
	display: none;
}

::-webkit-scrollbar {
	width: 7px;
	height: 7px;
}

::-webkit-scrollbar-thumb {
	background: #718096;
}

::-webkit-scrollbar-track {
	background: #cbd5e0;
}
/*
#headers .meun_list::-webkit-scrollbar {
	height: 2px;
}

#headers .meun_list::-webkit-scrollbar-track {
	background: transparent;
}
*/
.footer a {
    color: black;
}

/**
 * 阅读文章页面
 */

ol li code:before,
p code:before,
table code:before,
ul li code:before {
    content: "["
}

ol li code:after,
p code:after,
table code:after,
ul li code:after {
    content: "]"
}

ol li code,
p code,
table code,
ul li code {
    color: #2196f3
}

.vditor-task {
    margin-left: 0 !important;
    list-style-type: none !important;
}

:root {
    --blockquote-bg: #f5f5f5;
    --blockquote-tx: #000;
    --th-line: #dfe2e5;
    --hr-line: #f6f3f4;
    --ac-li-bg: #343a401a;
    --ac-li-tx: #324b64;
    --tag-bg: #dff2fe;
    --tag-tx: #00bcff;
    --level-bg: white;
    --level-bg-hover: #f8f8f9;
}

:root.dark {
    --blockquote-bg: #3d4754;
    --blockquote-tx: white;
    --th-line: #424242;
    --hr-line: color-mix(in oklab, #d1d5dc 50%, transparent);
    --ac-li-bg: #202328;
    --ac-li-tx: #e0e0e1;
    --tag-bg: #024a71;
    --tag-tx: #00a6f4;
    --level-bg: #3a4655;
    --level-bg-hover: #dadbdd33;
}
.post-banner {
    position: relative;
    margin-inline: calc(var(--spacing)* -6);
}
.banner-img {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 20%;
    overflow: hidden;
}
.banner-img img {
    position: absolute;
    top: 0;
    right: 0;
}
.filter {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    background-color: rgba(0, 0, 0, 0.2);
}

.echo-log-box {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    color: #FFF;
}

.page-box {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
    color: #FFF;
}

.page-box h1 {
    width: 100%;
    text-align: center;
    margin: 0;
    font-weight: 500;
    font-size: 1.75rem;
}

.page-box span {
    position: relative;
}

.page-box span:before {
    content: '';
    left: 1px;
    right: 1px;
    height: 30%;
    background-color: #2b7fff;
    position: absolute;
    opacity: .33;
    top: 50%;
    transform: translate(0%, 5%);
}

.poster-zoom {
    -webkit-animation: posterZoom 30s linear;
    animation: posterZoom 30s linear;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes posterZoom {
    from {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    to {
        -webkit-transform: scale(1.3);
        transform: scale(1.3)
    }
}

@keyframes posterZoom {
    from {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    to {
        -webkit-transform: scale(1.3);
        transform: scale(1.3)
    }
}

blockquote {
    background-color: var(--blockquote-bg);
    border-radius: 4px;
    color: var(--blockquote-tx);
    border-left: 0 solid #ccc;
    margin: 1rem 0;
    padding: .7em 0;
    quotes: "\201C" "\201D" "\2018" "\2019";
    transition: all .15s ease-out
}

blockquote p {
    margin: 0 !important;
    border: none;
    font-size: inherit;
    font-family: inherit;
    font-weight: 400;
    color: inherit;
    padding: 0 15px;
    line-height: normal;
    text-align: inherit;
    display: inline-block
}

blockquote:before {
    font-family: 'remixicon';
    color: #0f6fec;
    content: "\201C";
    font-size: 2em;
    line-height: .1em;
    vertical-align: -.4em
}

blockquote:hover {
    transform: scale(1.03)
}

.post-prose p img:hover,
.medium-box img:hover,
.medium-box video:hover {
    transform: scale(1.03);
    will-change: transform;

}

.medium-box img,
.medium-box video {
    transition: transform .3s ease-in-out;
    will-change: transform;

}

.post-prose :is(h1, h2, h3, h4, h5, h6) {
    position: relative;
    text-transform: none;
    letter-spacing: normal;
    display: block;
    margin: 1em 0;
}

.post-prose :is(h1, h2, h3) {
    display: inline-block;
    margin: .5em 0;
}

.post-prose h2:before {
    content: "#";
    color: #2b7fff;
    position: absolute;
    left: -1rem;
}

.post-prose :is(h1, h2, h3):before {
    display: inline-block;
    content: '';
    left: 1px;
    right: 1px;
    height: 30%;
    background-color: #2b7fff;
    position: absolute;
    opacity: .33;
    top: 50%;
    transform: translate(0%, 5%);
}

.post-prose ul li {
    margin: 0;
    padding: 0;
    list-style: disc;
    margin-left: 20px;
}

.post-content ol li {
    margin: 0;
    padding: 0;
    list-style: decimal;
    margin-left: 20px;
}

.post-prose a {
    color: #2196f3
}

.post-prose a:hover {
    text-decoration: underline;
}

.post-prose p,
.post-prose pre {
    margin: 1em 0;
    font-size: 0.875rem;
}

.post-prose hr {
    margin: 1rem 0;
    border-top: .1em dashed;
}

.post-prose img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    transition: transform .3s ease-in-out;
    vertical-align: middle;
}

/**
 * 文章详情页：相邻文章
 */

.post-prevnext {
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: -.35rem;
    margin-right: -.35rem;
    font-size: .9rem;
    display: flex
}

.post-prevnext .post-prev,.post-prevnext .post-next {
    width: 100%;
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 0;
    padding-right: 0;
    display: flex
}

.post-prevnext .post-prev i,.post-prevnext .post-next i {
    font-size: 1.2rem
}

.post-prevnext .post-prev a,.post-prevnext .post-next a {
    align-items: center;
    display: flex
}

.post-prevnext .post-prev .hidden-mobile,.post-prevnext .post-next .hidden-mobile {
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden
}

@media (max-width: 575px) {
    .post-prevnext .post-prev .hidden-mobile,.post-prevnext .post-next .hidden-mobile {
        display:none
    }
}

.post-prevnext .post-prev:hover i,.post-prevnext .post-prev:active i,.post-prevnext .post-next:hover i,.post-prevnext .post-next:active i {
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-delay: .1s;
    animation-fill-mode: forwards
}

.post-prevnext .post-prev:hover i,.post-prevnext .post-prev:active i {
    animation-name: post-prev-anim
}

.post-prevnext .post-next:hover i,.post-prevnext .post-next:active i {
    animation-name: post-next-anim
}

.post-prevnext .post-next {
    justify-content: flex-end
}

.post-prevnext .fa-chevron-left {
    margin-right: .5rem
}

.post-prevnext .fa-chevron-right {
    margin-left: .5rem
}
.visible-mobile {
    display: none;
}
@media (max-width: 575px) {
    .visible-mobile {
        display: block;
    }
}

@keyframes post-prev-anim {
    0% {
        transform: translate(0)
    }

    50% {
        transform: translate(-.35rem)
    }

    to {
        transform: translate(0)
    }
}

@keyframes post-next-anim {
    0% {
        transform: translate(0)
    }

    50% {
        transform: translate(.35rem)
    }

    to {
        transform: translate(0)
    }
}

/**
 * 文章详情页：许可协议
 */

.post-copyright {
    z-index: 1;
    border-radius: 4px;
    padding: 1rem 1.25rem;
    font-size: .9rem;
    /*transition: all .15s ease-out;*/
    position: relative;
    overflow: hidden
}
/*
.post-copyright:hover {
    transform: scale(1.02);
}*/

.post-copyright .copyright-icon {
    position: absolute;
    top: 50%;
    left: 100%
}

.post-copyright .copyright-icon:after {
    content: "\efb3";
    opacity: .1;
    z-index: -1;
    font-size: 10.5rem;
    line-height: 1;
    position: relative;
    bottom: .5em;
    left: -.85em
}

.post-copyright .copyright-title {
    margin-bottom: 0.5rem
}

.post-copyright .copyright-title div:first-child {
    margin-bottom: .25rem;
    line-height: 1.2
}

.post-copyright .copyright-meta {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    display: flex
}

.post-copyright .copyright-meta .copyright-meta-item {
    justify-content: center;
    align-items: center;
    margin-right: 1.5rem
}

/*.post-copyright .copyright-meta .copyright-meta-item div:first-child {
    color: var(--color-gray-500);
}*/

.post-copyright .copyright-meta .copyright-meta-item i {
    font-size: 1rem
}

@media (max-width: 575px) and (min-width:425px) {
    .post-copyright .copyright-meta .copyright-meta-item {
        flex-wrap:wrap;
        flex: 0 0 50%;
        justify-content: flex-start;
        max-width: 50%;
        margin-right: 0;
        font-size: .8rem;
        display: flex
    }

    .post-copyright .copyright-meta .copyright-meta-item div:first-child {
        margin-right: .5rem
    }

    .post-copyright .copyright-meta .copyright-meta-date {
        order: -1
    }
}

@media (max-width: 424px) {
    .post-copyright:after {
        top:-65px
    }

    .post-copyright .copyright-meta {
        flex-direction: column;
        align-items: flex-start
    }

    .post-copyright .copyright-meta .copyright-meta-item {
        flex-wrap: wrap;
        font-size: .8rem;
        display: flex
    }

    .post-copyright .copyright-meta .copyright-meta-item div:first-child {
        margin-right: .5rem
    }
}

/**
 * 文章详情页：猜你喜欢
 */
.post-tags {
    margin-top: 1em;
    padding: 0;
    font-size: 14px;
}
.post-tags .h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}
.post-tags a {
	display: inline-block;
	padding: .25rem .5rem;
	margin: 0 .5rem .5rem 0;
	border-radius: .15rem;
	font-size: .875rem;
}

/**
 * 文章详情页：目录树
 */

.directory-content.initial {
    opacity: 0
}

.directory-content.pinned,
.directory-content.unpinned {
    opacity: 1
}

.directory-content.headroom--top {
    opacity: 0
}

.directory-content.headroom--not-top {
    -webkit-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
    opacity: 1
}

.directory-content .toc a:hover {
    color: #2196f3
}

.directory-content .toc>.toc-list {
    overflow: hidden;
    position: relative
}

.directory-content .toc>.toc-list li {
    list-style: none;
    margin: 3px 5px
}

.directory-content .js-toc {
    overflow-y: hidden
}

.directory-content .toc-list {
    margin: 0;
    padding-left: 10px
}

.directory-content a.toc-link {
    color: currentColor;
    height: 100%
}

.directory-content .is-collapsible {
    max-height: 1000px;
    overflow: hidden;
    transition: all .3s ease-in-out
}

.directory-content .is-collapsed {
    max-height: 0
}

.directory-content .is-position-fixed {
    position: fixed !important;
    top: 0
}

.directory-content .is-active-link {
    font-weight: 700
}

.directory-content .toc-link:before {
    background-color: #eee;
    content: " ";
    display: inline-block;
    height: inherit;
    left: 0;
    margin-top: -1px;
    position: absolute;
    width: 2px
}

.directory-content .is-active-link:before {
    background-color: #2196f3
}

/**
 * 文章详情页：评论表单
 */

#comments .h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.form-control {
    resize: vertical;
}

.form-control {
    display: block;
    height: 2.65em;
    max-width: 100%;
    outline: 0px;
    padding: 0.4em 0.75em;
    width: 100%;
    transition: background 0.2s, border 0.2s, box-shadow 0.2s, color 0.2s;
}

.form-control:focus {
    border-color: var(--color-blue-600);
    box-shadow: 0 0 0 0.15em rgba(21, 93, 252, 0.2);
}

.form-control {
    height: auto;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75em;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75em;
    width: 100%;
    justify-content: flex-end;
}

.form-captcha {
    display: flex;
    align-items: center;
    gap: 0.3em;
    flex-direction: row-reverse;
}

.form-captcha img {
    height: 2.25em;
    width: auto;
    border-radius: 0.4em;
    cursor: pointer;
}

.comment {
    overflow: hidden;
    position: relative;
    display: block;
    padding: 10px 0 !important;
    border-bottom: border-bottom: 1px solid transparent;
}

.comment>.avatar {
    display: block;
    padding: 2px 0;
    float: left;
}

.comment>.avatar img {
    width: 24px !important;
    height: 24px !important;
    margin-top: 8px;
    border-radius: 50% !important;
}

.comment>.comment-infos {
    display: block;
    margin-left: 34px;
}

.comment>.comment-infos>.comment-header {
    line-height: 1.5;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.comment>.comment-infos>.comment-header span {
    display: flex;
    align-items: center;
    margin-top: 2px;
    margin-bottom: 2px;
}

.comment>.comment-infos>.comment-header span:not(:last-child) {
    margin-right: 6px;
}

.comment>.comment-infos>.comment-content {
    display: block;
    overflow: hidden;
    position: relative;
}

.comment>.comment-infos>.comment-content p {
    margin: 0;
    word-break: break-word;
}

.comment>.comment-infos>.comment-footer {
    margin-top: 0;
}

.comment>.comment-infos>.comment-footer .comment-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.comment>.comment-infos>.comment-footer .comment-actions>span {
    color: #697182;
    font-size: 13px;
    line-height: 25px;
    display: inline-flex;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.comment>.comment-infos>.comment-footer>span:not(:last-child) {
    margin-right: 16px;
}

.comment-children {
    padding: 0 !important;
    margin: auto;
}

.comment-replay-btn{
    display: flex;
    justify-content: center;
    place-items: center;
    padding: 8px;
    font-weight: 700;
    height: 100%;
    background: #00000005;
    border-radius: 0.4em;
    cursor: pointer;
}

.comment-replay-btn:hover {
    background: #0000000a;
}

.comment-replay-btn:after {
    display: block;
    content: "";
    width: 1em;
    height: 1em;
    background-color: #2a2e2e;
    background-size: contain;
    background-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.comment-replay-btn:after {
    -webkit-mask-image: url("../images/close.svg");
    mask-image: url("../images/close.svg");
}

/* 定义缩放动画 */
@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 动画类 */
.scale-in-animation {
    animation: scaleIn 0.5s ease-in-out;
}