@charset "utf-8";
article {
    position: relative;
}

.title_block_title {
    padding: 1rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--main);
    margin-bottom: 1rem;
}

.title_block_title h1 {
    margin-bottom: 0.5rem;
}

.article_tags {
    font-size: 0.9rem;
    color: var(--A);
    line-height: 1.75rem;
}

.article_tags a {
    color: var(--B);
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.article_tags a:hover {
    color: var(--main);
}

.cat_tips {
    position: relative;
    border-radius: 0.5rem;
    color: #fff;
    line-height: 2rem;
    padding: 0.75rem 1.5rem;
}

.cat_tips a {
    color: #fff;
}

.cat_tips_info {
    background: #20a0ff;
    background: -webkit-gradient(linear, left top, right top, from(#20a0ff), to(#20b8ff));
    background: -webkit-linear-gradient(left, #20a0ff, #20b8ff);
    background: linear-gradient(90deg, #20a0ff, #20b8ff);
}

.cat_tips_success {
    background: #61be33;
    background: -webkit-gradient(linear, left top, right top, from(#61be33), to(#8fce44));
    background: -webkit-linear-gradient(left, #61be33, #8fce44);
    background: linear-gradient(90deg, #61be33, #8fce44);
    text-shadow: 0 -1px #61be33;
}

.cat_tips_warning {
    background: #ff953f;
    background: -webkit-gradient(linear, left top, right top, from(#ff953f), to(#ffb449));
    background: -webkit-linear-gradient(left, #ff953f, #ffb449);
    background: linear-gradient(90deg, #ff953f, #ffb449);
    text-shadow: 0 -1px #ff953f;
}

.cat_tips_error {
    background: #ff4949;
    background: -webkit-gradient(linear, left top, right top, from(#ff4949), to(#ff7849));
    background: -webkit-linear-gradient(left, #ff4949, #ff7849);
    background: linear-gradient(90deg, #ff4949, #ff7849);
    text-shadow: 0 -1px #ff4949;
}

.cat_tips:before {
    color: #fff;
    border-radius: 50%;
    display: flex;
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    left: -0.75rem;
    top: -0.75rem;
    -webkit-box-shadow: 0 0 0 2.5px #fff;
    box-shadow: 0 0 0 2.5px #fff;
    font-weight: bold;
    text-align: center;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}

.cat_tips_info:before {
    background: #20a0ff;
    background: -webkit-gradient(linear, left bottom, left top, from(#0092ff), to(#20b8ff));
    background: -webkit-linear-gradient(bottom, #0092ff, #20b8ff);
    background: linear-gradient(0deg, #0092ff, #20b8ff);
    content: "i";
}

.cat_tips_success:before {
    background: -webkit-gradient(linear, left bottom, left top, from(#52bb1d), to(#95d34b));
    background: -webkit-linear-gradient(bottom, #52bb1d, #95d34b);
    background: linear-gradient(0deg, #52bb1d, #95d34b);
    content: "✓";
    text-shadow: 0 -1px #61be33;
}

.cat_tips_warning:before {
    background: -webkit-gradient(linear, left bottom, left top, from(#ff8f35), to(#ffc149));
    background: -webkit-linear-gradient(bottom, #ff8f35, #ffc149);
    background: linear-gradient(0deg, #ff8f35, #ffc149);
    content: "!";
    text-shadow: 0 -1px #ff953f;
}

.cat_tips_error:before {
    background: -webkit-gradient(linear, left bottom, left top, from(#ff3838), to(#ff7849));
    background: -webkit-linear-gradient(bottom, #ff3838, #ff7849);
    background: linear-gradient(0deg, #ff3838, #ff7849);
    content: "×";
    text-shadow: 0 -1px #ff4949;
}

article h2,
article h3,
article h4,
article h5,
article h6 {
    position: relative;
    line-height: 1.3rem;
    padding: 1rem 0;
}

article h2 {
    font-size: 1.5rem;
    counter-increment: h2;
    counter-reset: h3;
}

article h3 {
    font-size: 1.35rem;
    counter-increment: h3;
    counter-reset: h4;
}

article h4 {
    font-size: 1.3rem;
    counter-increment: h4;
    counter-reset: h5;
}

article h5 {
    font-size: 1.25rem;
    padding: 1rem 0;
}

article h6 {
    font-size: 1.2rem;
    padding: 0.5rem 0;
}

article h2::before {
    font-size: smaller;
    letter-spacing: 0;
    padding-right: 0.5rem;
}

article h3::before {
    font-size: smaller;
    letter-spacing: 0;
    padding-right: 0.5rem;
}

article h4::before {
    font-size: smaller;
    letter-spacing: 0;
    padding-right: 0.5rem;
}

article h5::before {
    content: '#';
    font-size: smaller;
    padding-right: 0.5rem;
}

article h6::before {
    content: '##';
    font-size: smaller;
    padding-right: 0.5rem;
}

article .post_content>p {
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 2em;
    text-align: justify;
    margin: 1em 0;
    word-break: break-all;
}

article .post_content hr {
    border: none;
    border-bottom: 1px solid #eee;
    margin: 2em 0;
    border: 0;
    padding: 2.5px;
    background: repeating-linear-gradient( 135deg, #a2a9b6 0px, #a2a9b6 1px, transparent 1px, transparent 6px);
}

article .post_content u {
    border-bottom: 2px solid var(--main);
    text-decoration: unset;
    margin: 0 0.25rem;
}

article .post_content .e {
    border-bottom: 2px dashed var(--main);
    text-decoration: unset;
}

article a {
    margin: 0 0.25rem;
    color: #ab3b3a;
    position: relative;
    word-break: break-word;
    cursor: pointer;
    text-underline-offset: 0.3em;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    border-bottom: 2px dotted #ab3b3a;
    padding: 0 4px;
    font-weight: 700;
}

article a:hover {
    text-decoration: none;
    color: #fff;
    border-width: 0;
    border-radius: 4px;
    background: #ab3b3a;
}

article .post_content sup a:after,
article .post_content .footnotes a:after {
    content: ' ';
}

article .post_content a:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
}

article .post_content blockquote {
    border-left: 4px solid var(--main);
    padding: calc(0.5 * var(--margin)) var(--margin);
    margin: var(--margin) 0;
    line-height: 2.5rem;
    word-break: break-all;
    background: #d8cdb5;
}

article .post_content code:not([class]) {
    padding: 0.2rem 0.3rem;
    font-size: 0.7rem;
    vertical-align: bottom;
    background: var(--main);
    border-radius: 0.25rem;
    color: #fff;
    font-weight: 700;
    font-family: 'user,-apple-system,BlinkMacSystemFont,PingFang SC,emoji, Helvetica Neue, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC', sans-serif;
    letter-spacing: 0;
    margin: 0 0.1rem;
}

article .post_content ol li {
    line-height: 1.75rem;
    transition: color 0.2s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

article .post_content ol>li:not(.tab) {
    padding: 0.2em 0.2em 0.2em 1.8em;
}

article ol {
    counter-reset: list-counter;
}

article ol>li {
    position: relative;
}

article ol>li::before {
    counter-increment: list-counter;
    text-align: center;
    content: counter(list-counter);
    width: 1.4em;
    height: 1.4em;
    position: absolute;
    top: 0px;
    left: 0px;
    background: var(--main);
    color: #fff;
    cursor: pointer;
    border-radius: 0.725em;
    margin-top: 0.4em;
    transition: all 0.3s ease-out 0s;
    line-height: 1.3rem;
}

article .post_content table {
    margin: 1rem 0;
    border-collapse: collapse;
    border: 1px solid var(--main);
    border-spacing: 0;
    width: 100%;
}

article .post_content table thead {
    background: var(--main);
    color: #fff;
}

article .post_content table thead th {
    padding: 0.5rem;
}

article .post_content table tbody td {
    border: 1px dashed var(--main);
    padding: 0.5rem;
    word-break: break-all;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

cat_article_hide {
    display: block;
    text-align: center;
    padding: 2rem!important;
    text-indent: 0;
    margin: 2rem 0;
}

article .post_content .cat_article_show_word {
    font-size: 0.9rem;
    line-height: 2rem;
}

article .post_content .card:not(cat_article_video) {
    padding: 1rem;
}

article .post_content .copy-to-clipboard-button {
    box-shadow: none!important;
    background: unset!important;
}

article .post_content .copy-to-clipboard-button span:before {
    content: '复制';
    display: block;
}

article .post_content .code-toolbar {
    display: grid;
}

article .post_content pre[class*=language-].line-numbers {
    max-height: 30rem;
    border-radius: 8px;
}

article .post_content pre[class*=language-].line-numbers::-webkit-scrollbar-thumb:hover {
    background: var(--bg-color);
}

article .post_content pre[class*=language-].line-numbers::-webkit-scrollbar-thumb {
    background: #e6dece;
    border-radius: 10px;
    border: 1px solid transparent;
}

article .post_content pre[class*=language-].line-numbers .code-toolbar code span {
    word-break: break-all;
}

cat_post_image {
    display: block;
    margin: 1rem 0;
}


/* cat_gallery>cat_post_image {
    margin: 0;
} */

cat_post_image img {
    display: block;
    max-width: 100%;
    margin: auto;
    cursor: zoom-in;
    padding: 0!important;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

cat_post_image img:hover {
    filter: blur(0) brightness(0.75);
    -webkit-filter: blur(0) brightness(0.75);
}


/* cat_gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.5rem;
    margin: 1rem 0;
}

@media screen and (max-width: 768px) {
    cat_gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

cat_gallery img {
    display: block;
    max-width: 100%;
    margin: auto;
    aspect-ratio: 1;
    object-fit: cover;
} */

cat_music {
    width: 100%;
    height: 100%;
    display: block;
    padding: 1rem var(--margin);
}

cat_music span {
    display: flex;
    padding: 0.5rem;
    text-indent: 0;
    gap: 0.5rem;
}

cat_music span svg {
    fill: var(--main);
}

cat_article_video {
    display: block;
}

cat_article_video iframe,
cat_article_video video {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    object-fit: cover;
}

ul.post-near {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--main);
    border-bottom: 1px solid var(--main);
}

ul.post-near .card {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    max-width: 49%;
    align-items: center;
}

.text-3xl {
    font-size: 2rem;
    line-height: 2.25rem;
}

.font-semibold {
    font-weight: 600;
}

.text-gray-900 {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity));
}

.hover\:text-gray-900:hover {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity));
}

.text-gray-500 {
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity));
}

.cat_container.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.cat_container.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

@media screen and (max-width: 768px) {
    .cat_container {
        column-count: 2;
    }
}

cat_item_image .item_image {
    break-inside: avoid;
}

cat_item_image .item_image:hover {
    cursor: pointer;
}

cat_item_image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 5px;
}

.border-tom {
    border-bottom: 20px;
}

.article-tags {
    display: flex;
    flex-flow: wrap;
    margin: 18px 0 10px 0;
    position: relative;
}

.article-tags a {
    text-decoration: none;
    color: color-mix(in srgb, #121212 55%, white);
    padding: 5px 5px;
    border-radius: 2px;
    margin: 0 8px 6px 0;
    word-break: keep-all;
    border-bottom: none;
}

.article-tags a:hover {
    border: none;
    border-bottom: none;
}

.article-tags a svg {
    width: 1rem;
    height: 1rem;
    margin-right: 2px;
    margin-top: 2px;
}
