:root {
    --outer-container-width: 55rem;
    --font-sans: "Open Sans", sans-serif;
    --font-mono: "Geist Mono", monospace;
    --font-family: 'HarmonyOS Sans SC Medium',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif ;
    --container-3xl: var(--outer-container-width);
    --color-text-primary: #333;
    --color-text-secondary: #666;
    --color-text-tertiary: #999;
    --color-text-highlight: #4e4e4e;
    --color-text-content: #444;
    --color-bg-primary: #fff;
    --color-bg-secondary: #f8f9fa;
    --color-bg-tertiary: #f5f5f5;
    --color-bg-background: #fff;
    --color-border: #eee;
    --color-border-light: #ddd;
    --color-border-dark: #ccc;
    --color-muted: #a6a6a6;
    --color-link: #007bc6;
    --color-black: #000;
    --border-dashed: 2px dashed #909090;
    --border-dashed-light: 2px dashed #ddd;
    --border-dashed-lighter: 2px dashed #d8d8d8;
    --border-dashed-dark: 2px dashed #535353;
    --border-dashed-darker: 2px dashed #000;
    --border-dashed-code: 2px dashed #e1e1e1;
    --border-dashed-gray: 2px dashed #6a6a6a;
    --border-dashed-comment: 2px dashed #cecece;
    --border-dashed-input: 2px dashed #dbdbdb;
    --border-dashed-about: 2px dashed #c2c2c2;
    --border-dashed-search: 2px dashed #626262;
    --color-border-rgb: rgba(238, 238, 238, 0.6);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --box-shadow: 0 0 20px rgba(0, 0, 0, .1);
    --transition-fade: 0.35s ease-in-out
}
/* 黑夜模式 */
[data-theme="dark"] {
    --color-bg-secondary: #0A0A0A;
    --color-bg-background: #0A0A0A;
    --color-text-primary: #fff;
    --color-text-secondary: #fff;
    --color-border: #272727;
    --color-border-rgb: rgba(22, 22, 22, 0.6);
    --box-shadow: none;
}    
li,
ul {
    list-style: none
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

.page-content hr,
.post-content hr {
    display: block;
    border: 0;
    margin: 2.24em auto 2.86em
}

.page-content hr::after,
.post-content hr::after {
    color: #999;
    font-size: 1.1em;
    display: block;
    content: "~ ~ ~ ~";
    text-align: center
}

html {
    font-size: 16px;
    line-height: 1.6;
    overflow-y: scroll
}

body {
    font-family: var(--font-family);
    color: var(--color-text-primary);
    font-size: 14px;
    line-height: 1.7;
    background-color: var(--color-bg-secondary)
}

@supports (scrollbar-gutter:stable) {
    body {
        scrollbar-gutter: stable
    }
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px
}

::-webkit-scrollbar-thumb {
    background: #c8c8c8;
    border-radius: 3px;
    transition: background .3s ease
}

::-webkit-scrollbar-thumb:hover {
    background: #999
}

::-webkit-scrollbar-thumb:active {
    background: #777
}

* {
    scrollbar-width: thin;
    scrollbar-color: #c8c8c8 #f5f5f5
}

.clearfix:after,
.clearfix:before {
    content: "";
    display: table
}

.clearfix:after {
    clear: both
}

.logo-section a,
.memo-author-name a,
.site-header a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color .3s ease
}

.logo-section a:hover,
.site-header a:hover {
    color: var(--color-text-secondary)
}

.post-title a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color .3s ease
}

.post-title a:hover {
    color: var(--color-text-secondary)
}

.article-info-meta a,
.post-meta a {
    color: #999;
    text-decoration: none;
    transition: color .3s ease
}

.article-info-meta a:hover,
.post-meta a:hover {
    color: #666
}

.page-content a,
.post-content a {
    color: #4e4e4e;
    transition: all .3s ease
}

.page-content a:hover,
.post-content a:hover {
    color: #000;
    text-decoration-color: #666
}

.post-tags a {
    display: inline-block;
    padding: 4px 12px;
    margin: 0 8px 8px 0;
    font-size: .9em;
    color: #666;
    background-color: #f0f0f0;
    border-radius: 4px;
    text-decoration: none;
    transition: all .3s ease
}

.post-tags a:hover {
    color: #fff;
    background-color: #333;
    transform: translateY(-2px)
}

.pagination .pagination-list a,
.pagination a {
    display: inline-block;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: all .3s ease
}

.pagination .pagination-list a:hover,
.pagination a:hover {
    background-color: #f0f0f0
}

.page-navigator a {
    display: inline-block;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: all .3s ease
}

.page-navigator .current a {
    font-weight: 600
}

.comment-author a,
.comment-user-info a {
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all .3s ease
}

.comment-author a:hover,
.comment-user-info a:hover {
    color: var(--color-text-secondary);
    text-decoration: underline
}

.comment-meta a {
    color: #999;
    text-decoration: none;
    transition: color .3s ease
}

.comment-meta a:hover {
    color: #666
}

.comment-text a {
    color: #4e4e4e;
    text-decoration: underline dotted;
    text-underline-offset: 0.4em;
    word-break: break-word;
    transition: color .3s ease
}

.comment-text a:hover {
    color: #000
}

#footer a {
    color: #333;
    text-decoration: none;
    transition: color .3s ease
}

#footer a:hover {
    text-decoration: underline
}

.search-result-title a {
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color .3s ease
}

.search-result-title a:hover {
    color: var(--color-text-secondary)
}

.search-result-meta a {
    color: #999;
    text-decoration: none;
    font-size: .9em;
    transition: color .3s ease
}

.search-result-meta a:hover {
    color: #666
}

.emoji-btn,
.submit,
.unified-button {
    text-decoration: none;
    transition: all .3s ease
}

.link-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #333 !important;
    text-decoration: none !important;
    line-height: 1.3;
    transition: color .3s ease;
    display: block
}

.link-title:hover {
    color: #2c3e50 !important
}

del {
    position: relative;
    color: transparent;
    text-decoration: none;
    background: 0 0
}

del::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #aaa 25%, transparent 25%, transparent 75%, #aaa 75%, #aaa), linear-gradient(135deg, #aaa 25%, transparent 25%, transparent 75%, #aaa 75%, #aaa);
    background-size: 6px 6px;
    background-position: 0 0, 3px 3px;
    border-radius: 3px;
    z-index: 1
}

del:hover {
    color: #333
}

del:hover::before {
    opacity: .3
}

#container {
    max-width: var(--container-3xl);
    width: 100%;
    background-color: var(--color-bg-background);
    border: 1px solid var(--color-border);
    box-shadow: var(--box-shadow);
    min-height: calc(100vh - 7.5rem);
    margin: 3.75rem auto;
    display: flex;
    flex-direction: column
}

@media (max-width:900px) {
    #container {
        max-width: 95%;
        margin: 2rem auto;
        box-shadow: none;
        min-height: calc(100vh - 4rem)
    }

    .fullscreen-menu {
        width: 95%;
        max-width: 95%;
        top: 2rem;
        height: calc(100vh - 4rem + 2px)
    }
}

@media (max-width:768px) {
    #container {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        min-height: 100vh
    }

    .fullscreen-menu {
        width: 100%;
        max-width: 100%;
        padding: 30px 16px;
        top: 0;
        height: calc(100vh + 2px)
    }
}

@media (min-width:1200px) {
    #container {
        max-width: var(--container-3xl)
    }
}

@media (min-width:1400px) {
    #container {
        max-width: var(--container-3xl)
    }
}

.site-header {
    position: relative;
    background-color: var(--color-bg-background);
    grid-column-start: 2
}

.line-divider {
    position: relative;
    height: 1px;
    z-index: 1;
    margin: 0;
    overflow: visible
}

.line-divider .line-svg {
    width: 100%;
    height: 1px;
    display: block
}

.line-divider .line-svg line {
    stroke: var(--color-border);
    stroke-dasharray: 8 8
}

.line-separator {
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
    margin: 2rem 0
}

.header-container {
    margin: 0 auto;
    padding: 1.875rem 1.875rem 1.375rem;
    display: grid;
    gap: 1rem;
    align-items: center
}

.logo-section {
    display: flex;
    align-items: center;
    height: 100%
}

.site-logo {
    height: 36px;
    width: auto;
    display: block
}

.site-title {
    font-size: 1.5em;
    font-weight: 500;
    color: #333;
    text-decoration: none
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem
}

.top-nav .nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color .3s ease;
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    display: inline-block
}

.top-nav .nav-link:hover {
    color: #333
}

.top-nav .nav-link.active {
    color: #212121
}

.top-nav .nav-link::before,
.top-nav .nav-link::after {
    content: "";
    position: absolute;
    left: -7px;
    right: -7px;
    top: 0px;
    bottom: 0px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease
}

.top-nav .nav-link.active::before,
.top-nav .nav-link.active::after {
    opacity: 1
}

.top-nav .nav-link.active::before {
    background: linear-gradient(#9f9f9f, #9f9f9f) 0 0/5px 1px no-repeat, linear-gradient(#9f9f9f, #9f9f9f) 0 0/1px 5px no-repeat, linear-gradient(#9f9f9f, #9f9f9f) 100% 0/5px 1px no-repeat, linear-gradient(#9f9f9f, #9f9f9f) 100% 0/1px 5px no-repeat
}

.top-nav .nav-link.active::after {
    background: linear-gradient(#9f9f9f, #9f9f9f) 0 100%/5px 1px no-repeat, linear-gradient(#9f9f9f, #9f9f9f) 0 100%/1px 5px no-repeat, linear-gradient(#9f9f9f, #9f9f9f) 100% 100%/5px 1px no-repeat, linear-gradient(#9f9f9f, #9f9f9f) 100% 100%/1px 5px no-repeat
}

.top-nav .more-btn.active::after {
    display: none
}


.dropdown-menus {
    background: var(--conBgcolor);
    opacity: 0.0;
    z-index: 4;
    list-style: none;
    margin-left: -26px;
    position: absolute;
    padding-left: 0px;
    border: none;
    border-radius: 4px;
    top: -3000px;
    margin-bottom: -34px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.02);
}
.list-menu:hover .dropdown-menus {
    opacity: 0.95;
    top: 56px;
    transition: opacity 0.2s;
}

.theme-toggle{
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: .25rem;
    color: var(--color-foreground);
    transition: color .2s ease;
}
.select-none {
    user-select: none;
}
.theme-toggle-container {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0)rotate(180deg);
    transition: all .2s ease-in-out
}
[data-theme=dark] .theme-icon-moon, [data-theme=light] .theme-icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0);
}
[data-theme=dark] .theme-icon-sun, [data-theme=light] .theme-icon-moon {
    display: none;
}


.theme-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

#container {
    position: relative;
    min-height: calc(100vh - 7.5rem)
}

.fullscreen-menu {
    position: fixed;
    top: 3.75rem;
    left: 50%;
    height: calc(100vh - 1.5rem + 2px);
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px 20px
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
    background-color: rgba(255, 255, 255, .98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
    max-width: 600px;
    padding: 20px;
    text-align: center;
    width: 50%;
    margin: auto 0;
    flex-shrink: 0
}

.menu-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center
}

.menu-item {
    font-size: 1.125rem;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    transition: all .3s ease;
    padding: 8px 0;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px)
}

.menu-item::before,
.menu-item::after {
    content: "";
    position: absolute;
    left: -14px;
    right: -14px;
    top: 5px;
    bottom: 5px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease
}

.fullscreen-menu.active .menu-item {
    opacity: 1;
    transform: translateY(0)
}

.menu-column:first-child .menu-item:nth-child(1) {
    transition-delay: 0.1s
}

.menu-column:first-child .menu-item:nth-child(2) {
    transition-delay: 0.15s
}

.menu-column:first-child .menu-item:nth-child(3) {
    transition-delay: 0.2s
}

.menu-column:first-child .menu-item:nth-child(4) {
    transition-delay: 0.25s
}

.menu-column:first-child .menu-item:nth-child(5) {
    transition-delay: 0.3s
}

.menu-column:nth-child(2) .menu-item:first-child {
    transition-delay: 0.15s
}

.menu-column:nth-child(2) .menu-item:nth-child(2) {
    transition-delay: 0.2s
}

.menu-column:nth-child(2) .menu-item:nth-child(3) {
    transition-delay: 0.25s
}

.menu-column:nth-child(2) .menu-item:nth-child(4) {
    transition-delay: 0.3s
}

.menu-column:nth-child(2) .menu-item:nth-child(5) {
    transition-delay: 0.35s
}

.menu-item:hover {
    color: #666;
    transform: translateY(0) translateX(8px)
}

.menu-item.active {
    color: #212121;
    font-weight: 500
}

.menu-item.active::before,
.menu-item.active::after {
    opacity: 1
}

.menu-item.active::before {
    background: linear-gradient(#9f9f9f, #9f9f9f) 0 0/6px 1px no-repeat, linear-gradient(#9f9f9f, #9f9f9f) 0 0/1px 6px no-repeat, linear-gradient(#9f9f9f, #9f9f9f) 100% 0/6px 1px no-repeat, linear-gradient(#9f9f9f, #9f9f9f) 100% 0/1px 6px no-repeat
}

.menu-item.active::after {
    background: linear-gradient(#9f9f9f, #9f9f9f) 0 100%/6px 1px no-repeat, linear-gradient(#9f9f9f, #9f9f9f) 0 100%/1px 6px no-repeat, linear-gradient(#9f9f9f, #9f9f9f) 100% 100%/6px 1px no-repeat, linear-gradient(#9f9f9f, #9f9f9f) 100% 100%/1px 6px no-repeat
}

#breadcrumb-nav {
    background-color: #fff;
    padding: 0 30px
}

.breadcrumb-content {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

.breadcrumb-content::-webkit-scrollbar {
    height: 6px
}

.breadcrumb-content::-webkit-scrollbar-track {
    background: #f1f1f1
}

.breadcrumb-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px
}

.breadcrumb-content::-webkit-scrollbar-thumb:hover {
    background: #999
}

.breadcrumb-left {
    font-variant-caps: all-small-caps;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px
}

.breadcrumb-date {
    color: #999;
    font-weight: 400
}

.breadcrumb-separator {
    color: #ddd
}

.breadcrumb-type {
    color: #666;
    font-weight: 500
}

.breadcrumb-title {
    color: #333;
    font-weight: 400;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

#breadcrumb-nav .breadcrumb-title.typewriter {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding-right: 6px;
    line-height: 1.2
}

#breadcrumb-nav .breadcrumb-title.typewriter::after {
    content: '';
    position: absolute;
    right: 0;
    top: 60%;
    width: 1px;
    height: .8em;
    background: currentColor;
    transform: translateY(-50%);
    opacity: 0
}

#breadcrumb-nav .breadcrumb-title.typewriter.typewriter-active::after,
#breadcrumb-nav .breadcrumb-title.typewriter.typewriter-idle::after {
    opacity: 1;
    animation: breadcrumbCaret 1.2s step-end infinite
}

@keyframes breadcrumbCaret {

    0%,
    to {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.nav-search-btn {
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    font-size: 18px;
    transition: color .3s ease
}

.nav-search-btn:hover {
    color: #333
}

.nav-search-btn .iconfont {
    display: block
}

.search-drawer {
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    transition: max-height .3s cubic-bezier(.4, 0, .2, 1)
}

.search-drawer.active {
    max-height: 80px
}

.search-drawer-content {
    padding: 15px 30px
}

.search-drawer-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto
}

.search-drawer-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    outline: 0;
    transition: border-color .3s ease
}

.search-drawer-input:focus {
    border-color: #333
}

.search-drawer-submit {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color .3s ease
}

.search-drawer-submit:hover {
    background-color: #555
}

.search-drawer-submit .iconfont {
    display: block
}

#random-quote {
    margin: 24px 30px 0;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f8f9fb 0%, #fcfcff 100%);
    border: 1px solid rgba(47, 59, 82, .12);
    position: relative;
    overflow: hidden
}

#random-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #000
}

#random-quote .quote-content {
    margin-left: 8px;
    display: flex;
    align-items: center;
    gap: 12px justify-content:center
}

#random-quote .quote-text {
    margin: 0;
    font-size: 1.05em;
    letter-spacing: .04em;
    line-height: 1.5;
    color: #2f3b52;
    text-wrap: balance
}

#random-quote .quote-text::before {
    content: '\f002';
    font-family: "iconfont", sans-serif;
    font-size: 1em;
    color: #5f8aff;
    margin-right: 10px;
    vertical-align: middle
}

@media (max-width:768px) {
    #random-quote {
        margin: 20px 20px 0;
        padding: 16px 18px;
        border-radius: 6px
    }

    #random-quote .quote-text {
        font-size: 1em;
        letter-spacing: .02em
    }
}

@media (max-width:480px) {
    #random-quote {
        margin: 16px 16px 0;
        padding: 14px 16px
    }

    #random-quote .quote-content {
        gap: 8px
    }
}

.home-overview {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 18px;
    padding: 20px 30px;
    width: 100%
}

.overview-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    flex: 0 0 180px;
    max-width: 200px;
    min-width: 0
}

.intro-text {
    margin: 0;
    font-size: .95em;
    line-height: 1.5;
    color: #2f3b52;
    text-align: justify;
    text-align-last: justify;
    padding: 0 10px
}

.intro-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px dashed #333;
    color: #ffffff;
    font-size: .9em;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
    background: #333
}

.intro-action:hover {
    background: #e8e8e8;
    color: #000000
}

.overview-heatmap {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%
}

.heatmap-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    grid-auto-columns: minmax(0, 1fr);
    gap: 5px;
    max-width: 100%
}

.heatmap-cell {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: #edf2f7;
    transition: transform .2s ease, box-shadow .2s ease
}

.heatmap-cell::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    opacity: .85
}

.heatmap-cell.level-0 {
    color: #f2f2f2
}

.heatmap-cell.level-1 {
    color: #d9d9d9
}

.heatmap-cell.level-2 {
    color: #bfbfbf
}

.heatmap-cell.level-3 {
    color: #808080
}

.heatmap-cell.level-4 {
    color: #1f1f1f
}

.heatmap-cell:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12)
}

@media (max-width:960px) {
    .home-overview {
        gap: 14px;
        margin: 16px auto;
        padding: 12px 14px;
        width: calc(100% - 32px)
    }

    .overview-intro {
        flex-basis: 160px;
        max-width: 180px
    }

    .heatmap-grid {
        gap: 4px
    }
}

@media (max-width:600px) {
    .home-overview {
        gap: 8px;
        margin: 12px auto;
        padding: 10px 12px;
        width: 100%;
        overflow: hidden
    }

    .overview-intro {
        flex: 0 1 120px;
        max-width: 45%
    }

    .intro-action {
        display: none
    }

    .heatmap-grid {
        grid-template-rows: repeat(4, minmax(0, 1fr));
        gap: 3px
    }

    .overview-heatmap {
        flex: 1 1 0;
        min-width: 0
    }

    .intro-text {
        padding: 0
    }
}

#article-info {
    background-color: #f8f9fa;
    padding: 1.375rem 1.875rem;
    position: relative;
    min-height: 120px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center
}

#article-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .85);
    z-index: 0
}

#article-info>* {
    position: relative;
    z-index: 1
}

.article-info-content {
    max-width: 100%
}

.article-info-title {
    font-size: 1.8em;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    word-wrap: break-word
}

.article-info-meta {
    color: #666;
    font-size: .9em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    transition: opacity .3s ease
}

.article-info-meta span {
    display: inline-block
}

.article-info-meta .meta-separator {
    color: #ddd;
    margin: 0 4px
}

.info-author,
.info-comments,
.info-time,
.info-views {
    color: #4e4e4e;
    font-weight: 500
}

#main {
    padding: 0;
    flex: 1;
    position: relative
}

#content {
    padding: 0;
    max-width: 56rem;
    margin: 0 auto
}

.post {
    padding: 1.375rem 1.875rem;
}

.post-list {
    margin: 0
}

.post-item {
    margin-bottom: 0;
    padding: 1.875rem
}

.post-item:last-child {
    border-bottom: none;
    margin-bottom: 0
}

.page-title,
.post-title {
    font-size: 1.8em;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.4
}

.post-excerpt {
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    font-size: .95em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.6em * 3)
}

.post-meta {
    color: #999;
    font-size: .85em;
    display: flex;
    align-items: center;
    flex-wrap: wrap
}

.post-meta .meta-separator {
    color: #ddd;
    margin: 0 6px
}

.post-author {
    color: #4e4e4e;
    font-weight: 500
}

.post-time {
    color: #4e4e4e
}

.post-views {
    color: #4e4e4e
}

.page-content,
.post-content {
    line-height: 1.8;
    color: #444;
    word-wrap: break-word
}

.page-content p,
.post-content p {
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 2em;
    text-align: justify;
    word-break: break-all
}

.post-content img,
.page-content img,
.content img,
article img {
    display: block;
    width: 100%;
    max-width: min(100%, 960px);
    margin: 18px auto;
    border: 2px dashed #c4c4c4;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 4 / 3;
    transition: border-color .3s ease, opacity .3s ease
}

.post-content img:hover,
.page-content img:hover,
.content img:hover,
article img:hover {
    border-color: #000
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #c4c4c4;
    background: #fff;
    color: #333;
    font-size: 20px;
    line-height: 1;
    border-radius: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
    z-index: 1200
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

@media (max-width:768px) {

    .post-content img,
    .page-content img,
    .content img,
    article img {
        aspect-ratio: 1 / 1;
        max-width: min(100%, calc(100vw - 48px));
        margin: 18px auto
    }
}

.page-content a,
.post-content a {
    text-decoration: underline dotted;
    text-underline-offset: 0.4em;
    word-break: break-word
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.post-item h1,
.post-item h2,
.post-item h3,
.post-item h4,
.post-item h5,
.post-item h6 {
    font-size: 1.125rem;
    margin: .8rem 0
}

.comment-count::after,
.page-content h1::after,
.page-content h2::after,
.page-content h3::after,
.page-content h4::after,
.page-content h5::after,
.page-content h6::after,
.post-content h1::after,
.post-content h2::after,
.post-content h3::after,
.post-content h4::after,
.post-content h5::after,
.post-content h6::after {
    content: ' ';
    display: block;
    border: 1px solid #1d7017;
    border-radius: 5px;
    width: 40px;
    opacity: .5
}

.page-content blockquote,
.post-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 20px;
    margin: 20px 0;
    color: #666;
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 4px
}

.post-content .code-block-wrapper {
    position: relative;
    margin: 1.5rem 0;
    border: var(--border-dashed-code);
    background-color: var(--color-card);
    overflow: hidden
}
.post-content .code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 1rem;
    background: repeating-linear-gradient(-32deg, transparent 0, transparent 4px, var(--color-border-rgb) 4px, var(--color-border-rgb) 8px);
    border-bottom: var(--border-dashed-code);
    font-size: .75rem
}

.post-content .code-language {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-muted);
    font-family: var(--font-mono);
}

.post-content .code-copy-btn:hover {
    color: var(--color-foreground);
    background-color: var(--color-card);
}

.page-content code,
.post-content code {
    background-color: #f5f5f5;
    color: #d73a49;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: .9em;
    border: 1px solid #e8e8e8
}

.page-content pre code,
.post-content pre code {
    display: block;
    background: 0 0;
    color: #24292e;
    padding: 1.25rem;
    border: none;
    overflow-x: auto;
    line-height: 1.6;
    font-size: 14px;
    tab-size: 4;
    -moz-tab-size: 4
}

.code-collapse-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--color-card);
    border: none;
    border-top: var(--border-dashed-code);
    color: var(--color-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .75rem;
    transition: all .2s ease;
    z-index: 3
}

.code-collapse-btn:hover {
    color: var(--color-foreground);
    background: var(--color-background)
}

.code-collapse-btn .collapse-icon {
    width: 16px;
    height: 16px;
    transition: transform .2s ease
}

.code-collapse-btn.expanded .collapse-icon {
    transform: rotate(180deg);
}

.code-block-collapsible.expanded pre, .code-block-collapsible.expanded .highlight pre {
    padding-bottom: 70px !important;
}

.code-copy-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    padding: 4px 12px;
    font-size: 12px;
    color: #5a5a5a;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 10;
    line-height: 1.5;
    background: 0 0
}

.code-copy-btn:hover {
    color: #1c1c1c;
    font-weight: 400
}

.code-copy-btn:active {
    transform: scale(.95)
}

.code-copy-btn.copied {
    color: #000;
    border-color: #000
}

.page-content pre code::-webkit-scrollbar,
.post-content pre code::-webkit-scrollbar {
    height: 8px
}

.page-content pre code::-webkit-scrollbar-track,
.post-content pre code::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px
}

.page-content pre code::-webkit-scrollbar-thumb,
.post-content pre code::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px
}

.page-content pre code::-webkit-scrollbar-thumb:hover,
.post-content pre code::-webkit-scrollbar-thumb:hover {
    background: #999
}

@media screen and (max-width:768px) {

    .page-content pre code,
    .post-content pre code {
        padding: 0.9375rem;
        font-size: 0.75rem
    }

    .code-block-collapsible .code-fade-overlay {
        bottom: 45px;
        height: 45px;
    }

    .code-block-collapsible.expanded pre {
        padding-bottom: 55px !important;
    }

    .code-collapse-btn {
        height: 45px;
        font-size: .8rem
    }

    .code-collapse-btn .collapse-icon {
        width: 14px;
        height: 14px;
    }

    .page-content code,
    .post-content code {
        font-size: .875em;
        padding: 2px 5px
    }

    .code-copy-btn {
        padding: 3px 10px;
        font-size: 11px;
        top: 6px;
        right: 8px
    }

    .page-content pre::after,
    .post-content pre::after {
        display: none
    }
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap
}

.post-footer .post-meta {
    flex: 1;
    margin-bottom: 0
}

.post-tags {
    margin-top: 10px
}

.movie-pages-container {
    margin-top: 30px
}

.movie-pages-error {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border: var(--border-dashed-light);
    color: #666;
    font-size: .9em
}

.movie-pages-error p {
    margin-bottom: 10px
}

.movie-pages-error p:last-child {
    margin-bottom: 0
}

.pagination-wrapper {
    margin-top: 30px;
    text-align: center
}

.pagination .pagination-list {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0
}

.pagination .pagination-list li {
    display: inline-block
}

.pagination .pagination-list a,
.pagination .pagination-list span {
    display: block;
    padding: 3px 12px;
    color: #333;
    border: var(--border-dashed);
    text-decoration: none;
    font-size: 14px;
    transition: background-color .3s ease;
    background-color: transparent
}

.pagination .pagination-list a:hover {
    background-color: #f0f0f0
}

.pagination .pagination-list .active span {
    background-color: #fff;
    color: #000;
    border: var(--border-dashed-darker)
}

.MoviePages_data-output {
    margin: 20px 0
}

.MoviePages_list-group {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 20px;
    justify-items: center
}

.MoviePages_list-group-item {
    margin: 0;
    padding: 0;
    background: 0 0;
    border: none
}

@media (max-width:768px) {
    .MoviePages_list-group {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px
    }

    .movie-pages-error {
        padding: 30px 15px;
        margin: 20px 0
    }

    .pagination .pagination-list {
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center
    }
}

.read-more {
    display: inline-block;
    padding: 1px 10px;
    margin-left: 15px;
    color: #333;
    background: repeating-linear-gradient(-45deg, var(--color-border-rgb), var(--color-border-rgb) 1px, transparent 1px, transparent 6px);
    border: var(--border-dashed);
    text-decoration: none;
    font-size: 13px;
    transition: all .3s ease;
    white-space: nowrap;
    cursor: pointer
}

.read-more:hover {
    color: #000;
    border-color: #333
}

.comment-btn {
    display: inline-block;
    padding: 4px 10px;
    color: #111;
    border: 2px dashed #6c6c6c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all .3s ease;
    cursor: pointer
}

.comment-btn:hover {
    border-color: #000;
    transform: translateY(-1px)
}

.comment-btn.active {
    background-color: #666;
    border-color: #666
}

.comment-form-bottom .submit,
.comment-user-info .submit,
.respond .submit,
.submit {
    display: inline-block;
    padding: 0 10px;
    height: 1.875rem;
    line-height: calc(1.875rem - 4px);
    color: #252525;
    background-color: #fff;
    border: 2px dashed #4a4a4a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all .3s ease;
    cursor: pointer;
    box-sizing: border-box
}

.comment-form-bottom .submit:hover,
.comment-user-info .submit:hover,
.respond .submit:hover,
.submit:hover {
    border-color: #333
}

.respond .submit:disabled,
.submit:disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: .6
}

.respond .submit.loading,
.submit.loading {
    opacity: .8;
    cursor: wait
}

.cancel-reply-btn,
.emoji-btn,
.unified-button {
    display: inline-block;
    padding: 5px 12px;
    color: #333;
    background-color: transparent;
    border: var(--border-dashed);
    text-decoration: none;
    font-size: 12px;
    transition: background-color .3s ease;
    cursor: pointer;
    border-radius: 0
}

.cancel-reply-btn:hover,
.emoji-btn:hover,
.unified-button:hover {
    background-color: #f0f0f0;
    color: #333
}

.page-navigator {
    text-align: center;
    margin: 40px 0;
    padding: 0 30px
}

.page-navigator ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.page-navigator li {
    display: inline-block
}

.page-navigator a,
.page-navigator span {
    display: inline-block;
    padding: 4px 10px;
    color: #333;
    background-color: #fff;
    border: var(--border-dashed);
    text-decoration: none;
    font-size: 13px;
    transition: all .3s ease;
    text-align: center;
    line-height: 1.4;
    box-sizing: border-box
}

.page-navigator li:not(.prev):not(.next) a,
.page-navigator li:not(.prev):not(.next) span {
    min-width: 28px;
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.page-navigator .next a,
.page-navigator .next span,
.page-navigator .prev a,
.page-navigator .prev span {
    min-width: 60px;
    height: 28px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.page-navigator a:hover {
    background-color: #f5f5f5;
    color: #000;
    border-color: #666
}

.page-navigator .current a,
.page-navigator .current span {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    border-style: dashed !important;
    font-weight: 700
}

.page-navigator .next.disabled span,
.page-navigator .prev.disabled span {
    color: #333;
    background-color: #fff;
    border: var(--border-dashed);
    cursor: not-allowed
}

.page-navigator li span:not([class]) {
    border: none;
    background: 0 0;
    color: #666;
    cursor: default;
    padding: 4px 6px
}

@media (max-width:768px) {
    .page-navigator {
        margin: 30px 0;
        padding: 0 15px
    }

    .page-navigator ul {
        gap: 12px
    }

    .page-navigator li:not(.prev):not(.next) {
        display: none !important
    }

    .page-navigator .next,
    .page-navigator .prev {
        display: inline-block !important
    }

    .page-navigator .next a,
    .page-navigator .next span,
    .page-navigator .prev a,
    .page-navigator .prev span {
        min-width: 70px;
        height: 38px;
        padding: 0 16px;
        font-size: 14px
    }

    .read-more {
        padding: 2px 10px;
        font-size: 12px;
        margin-left: 10px
    }

    .comment-btn {
        padding: 6px 16px;
        font-size: 13px
    }

    .comment-form-bottom .submit,
    .comment-user-info .submit,
    .respond .submit,
    .submit {
        font-size: 13px
    }
}

#comments {
    padding: 30px
}

#comments h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3em
}

.respond {
    margin-top: 30px
}

.respond h3 {
    margin-bottom: 20px
}

.respond p {
    margin-bottom: 15px
}

.respond label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-weight: 500
}

.respond .required:after {
    content: " *";
    color: red
}

.respond input[type=email],
.respond input[type=text],
.respond input[type=url],
.respond textarea {
    width: 100%;
    padding: 10px 15px;
    border: var(--border-dashed-light);
    font-size: 14px;
    transition: border-color .3s ease
}

.respond input[type=email]:focus,
.respond input[type=text]:focus,
.respond input[type=url]:focus,
.respond textarea:focus {
    outline: 0;
    border-color: #333
}

.respond textarea {
    resize: vertical;
    min-height: 120px
}

.archive-header {
    padding: 20px 30px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee
}

.archive-title {
    font-size: 1.5em;
    color: #333;
    font-weight: 400
}

.error-404 {
    text-align: center;
    padding: 60px 30px
}

.error-title {
    font-size: 6em;
    color: #ddd;
    font-weight: 300;
    margin-bottom: 20px
}

.error-subtitle {
    font-size: 1.8em;
    color: #666;
    margin-bottom: 15px
}

.error-message {
    color: #999;
    margin-bottom: 30px
}

.error-actions {
    margin-bottom: 30px
}

.btn-back,
.btn-home {
    display: inline-block;
    margin: 0 10px;
    padding: 10px 25px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .3s ease
}

.btn-back:hover,
.btn-home:hover {
    background-color: #555
}

.search-form {
    max-width: 400px;
    margin: 0 auto
}

.search-form input[type=text] {
    width: 70%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    border-right: none
}

.search-form button {
    width: 30%;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    border: 1px solid #333;
    border-radius: 0 4px 4px 0;
    cursor: pointer
}

.no-posts {
    text-align: center;
    padding: 60px 30px;
    color: #666
}

img.lazy-loading {
    background: linear-gradient(90deg, #f0f0f0 0, #e0e0e0 20%, #f0f0f0 40%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    min-height: 200px;
    opacity: .6
}

@keyframes shimmer {
    0% {
        background-position: -200% 0
    }

    100% {
        background-position: 200% 0
    }
}

img.lazy-loaded {
    animation: fadeIn .4s ease-in;
    opacity: 1
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

img.lazy-error {
    background: linear-gradient(135deg, #f5f5f5 0, #e8e8e8 50%, #f5f5f5 100%);
    opacity: 1;
    min-height: 200px;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center
}

img.lazy-error::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2"><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M21 15l-5-5L5 21"/></svg>') center/contain no-repeat;
    opacity: .5;
    pointer-events: none
}

img.lazy-error::after {
    content: '图片加载失败';
    position: absolute;
    top: calc(50% + 36px);
    left: 50%;
    transform: translateX(-50%);
    color: #999;
    font-size: 14px;
    white-space: nowrap;
    pointer-events: none;
    text-align: center
}

.photos-grid .photo-item img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    box-sizing: border-box
}

.comment-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px
}

.memo-content img:not(.biaoqing):not(.sticker) {
    display: none !important
}

.photos-grid .photo-item img.lazy-loading {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    margin: 0 !important;
    background: linear-gradient(90deg, #f0f0f0 0, #e0e0e0 20%, #f0f0f0 40%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    min-height: unset !important;
    opacity: .6
}

.photos-grid .photo-item img.lazy-loaded {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    animation: fadeIn .4s ease-in;
    display: block !important;
    margin: 0 !important
}

.photos-grid .photo-item img.lazy-error {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f5f5f5;
    opacity: 1;
    min-height: unset !important;
    display: block !important;
    margin: 0 !important
}

.photos-grid .photo-item img.lazy-error::after {
    content: '加载失败';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none
}

@media screen and (max-width:768px) {
    img.lazy-loading {
        min-height: 150px
    }

    .photos-grid .photo-item img.lazy-loading {
        min-height: unset
    }

    .photos-grid .photo-item img.lazy-error::after {
        font-size: 11px
    }
}

@media screen and (max-width:480px) {
    img.lazy-loading {
        min-height: 120px
    }

    .photos-grid .photo-item img.lazy-loading {
        min-height: unset
    }

    .photos-grid .photo-item img.lazy-error::after {
        font-size: 10px
    }
}

.site-footer {
    background-color: var(--color-bg-background);
}
.footer-content {
    margin-top: auto;
    text-align: center;
    padding: 1.5rem;
    color: #333;
    font-size: .7rem;
    line-height: 1.8;
    z-index: 10;
    max-width: var(--container-3xl);
    width: 100%;
    margin-left: auto;
    margin-right: auto
}

.footer-content p {
    margin: 0;
    line-height: 1.5
}

@media (max-width:768px) {
    #container {
        max-width: 100%;
        margin: 0;
        box-shadow: none
    }

    #content {
        padding: 0
    }

    .post {
        padding: .55rem 1rem;
    }

    .page-title,
    .post-title {
        font-size: 1.5em
    }

    .post-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        gap: 10px
    }

    .post-footer .post-meta {
        flex: 1;
        margin-bottom: 0
    }

    .read-more {
        margin-left: 10px;
        flex-shrink: 0
    }

    .post-tags {
        margin-top: 15px
    }

    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px
    }

    .comment-children {
        margin-left: 0
    }

    #article-info {
        padding: .5rem 1rem;
        min-height: 100px
    }

    .article-info-title {
        font-size: 1.4em;
        margin-bottom: 12px
    }

    .article-info-meta {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
        font-size: .85em
    }

    .article-info-meta .meta-separator {
        display: inline-block;
        color: #ddd;
        margin: 0 2px
    }

    .search-form input[type=text] {
        width: 100%;
        border-radius: 4px;
        border-right: 1px solid #ddd;
        margin-bottom: 10px
    }

    .search-form button {
        width: 100%;
        border-radius: 4px
    }
}

.loading-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

#external-link-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn .3s ease-in-out forwards
}

.external-link-dialog {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    transform: translateY(-20px);
    animation: slideIn .3s ease-out forwards
}

.external-link-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center
}

.external-link-body {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px
}

.external-link-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px
}

.btn-cancel,
.btn-continue {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color .3s ease
}

.btn-cancel {
    background-color: #f0f0f0;
    color: #666
}

.btn-cancel:hover {
    background-color: #e0e0e0
}

.btn-continue {
    background-color: #333;
    color: #fff
}

.btn-continue:hover {
    background-color: #555
}

@keyframes slideIn {
    to {
        transform: translateY(0)
    }
}

.turbo-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
    min-width: 300px;
    max-width: 500px;
    opacity: 0;
    transform: translateX(100%);
    transition: all .3s ease
}

.turbo-notification.show {
    opacity: 1;
    transform: translateX(0)
}

.notification-content {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.notification-message {
    color: #333;
    font-size: 14px
}

.notification-close {
    background: 0 0;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    margin-left: 15px;
    padding: 0
}

.notification-close:hover {
    color: #666
}

.turbo-notification-success {
    border-left: 4px solid #10b981
}

.turbo-notification-error {
    border-left: 4px solid #ef4444
}

.turbo-notification-warning {
    border-left: 4px solid #f59e0b
}

.turbo-notification-info {
    border-left: 4px solid #3b82f6
}

#page-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 9999;
    background: rgba(0, 0, 0, .1)
}

#page-loading .loading-bar {
    height: 100%;
    background: #333;
    width: 0%;
    transition: width .3s ease
}

#turbo-body {
    transition: opacity .25s ease
}

body.turbo-loading #turbo-body {
    opacity: .3
}

.page-navigator {
    transition: opacity .2s ease
}

.page-navigator a,
.page-navigator span {
    transition: opacity .2s ease
}

.comment-list,
.comments-list,
.memos-list,
.post-list {
    transition: opacity .25s ease
}

#comments {
    transition: opacity .25s ease
}

#comments.transitioning {
    transition: opacity .25s ease-out
}

.comment-container {
    transition: opacity .2s ease
}

body.turbo-loading #comments,
body.turbo-loading .comment-list,
body.turbo-loading .comments-list,
body.turbo-loading .memos-list,
body.turbo-loading .post-list {
    opacity: .3
}

.comments-list .page-navigator {
    transition: opacity .25s ease
}

body.turbo-loading .comments-list .page-navigator {
    opacity: .3
}

.shortcode-todolist {
    margin: 15px 0;
    padding: 12px;
    border: var(--border-dashed);
    background: #fff
}

.todo-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5
}

.todo-item:last-child {
    border-bottom: none
}

.todo-checkbox {
    margin: 0 8px 0 0;
    width: 16px;
    height: 16px;
    cursor: default
}

.todo-label {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    cursor: default
}

.todo-checkbox:checked+.todo-label {
    text-decoration: line-through;
    color: #999
}

.shortcode-tabs {
    margin: 20px 0;
    border: var(--border-dashed);
    border-radius: 3px;
    overflow: hidden;
    background: #fff
}

.tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 2px dashed #909090;
    background: #f8f8f8;
    overflow-x: auto
}

.tab-nav-item {
    flex: 0 0 auto;
    min-width: 80px;
    padding: 12px 16px;
    background: 0 0;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all .2s ease;
    border-right: 1px solid #e0e0e0;
    white-space: nowrap
}

.tab-nav-item:last-child {
    border-right: none
}

.tab-nav-item:hover {
    background: #f0f0f0;
    color: #333
}

.tab-nav-item.active {
    background: #fff;
    color: #333;
    font-weight: 500
}

.tabs-content {
    padding: 16px
}

.tab-content-item {
    display: none
}

.tab-content-item.active {
    display: block
}

.shortcode-collapse {
    margin: 20px 0;
    border: var(--border-dashed);
    border-radius: 3px;
    overflow: hidden;
    background: #fff
}

.collapse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f8f8;
    cursor: pointer;
    transition: background .2s ease
}

.collapse-header:hover {
    background: #f0f0f0
}

.collapse-title {
    font-size: 14px;
    font-weight: 500;
    color: #333
}

.collapse-icon {
    font-size: 12px;
    color: #666;
    transition: transform .2s ease
}

.collapse-header.active .collapse-icon {
    transform: rotate(180deg)
}

.collapse-content {
    border-top: 1px solid #e0e0e0;
    overflow: hidden;
    transition: max-height .3s ease-out, opacity .3s ease-out;
    max-height: 500px;
    opacity: 1
}

.collapse-content.collapsed {
    max-height: 0;
    opacity: 0
}

.collapse-content.collapsed .collapse-inner {
    padding-top: 0;
    padding-bottom: 0
}

.collapse-inner {
    padding: 16px;
    transition: padding .3s ease-out
}

@media (max-width:768px) {
    .tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    .tab-nav-item {
        min-width: 60px;
        padding: 10px 12px;
        font-size: 13px
    }

    .collapse-inner,
    .tabs-content {
        padding: 12px
    }
}

.signature-with-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 35px 0;
    flex-wrap: nowrap
}

.post-support-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center
}

.support-item:hover {
    color: #333
}

.animated-signature {
    flex-shrink: 0;
    margin-left: auto
}

@media (max-width:768px) {
    .signature-with-actions {
        gap: 8px;
        margin: 25px 0
    }

    .post-support-actions {
        gap: 8px
    }

    .support-item {
        font-size: 16px
    }

    .animated-signature svg {
        max-width: 200px;
        height: auto
    }
}

@media (max-width:480px) {
    .signature-with-actions {
        gap: 5px;
        margin: 20px 0
    }

    .post-support-actions {
        gap: 5px
    }

    .support-item {
        font-size: 14px
    }

    .animated-signature svg {
        max-width: 150px
    }
}

#article-info {
    transition: all .3s ease
}

.article-info-title {
    transition: color .3s ease
}

.post-content {
    margin-top: 0;
    padding-top: 0
}

.article-info-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -.01em
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0;
    padding: 4px
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #f5f5f5;
    aspect-ratio: 4 / 3;
    cursor: pointer
}

.photo-item {
    grid-column: span 2
}

.photos-grid[data-count="1"] .photo-item {
    grid-column: span 6;
    max-width: 620px;
    margin: 0 auto
}

.photos-grid[data-count="2"] .photo-item,
.photos-grid[data-count="4"] .photo-item {
    grid-column: span 3
}

.photos-grid[data-count="3"] .photo-item,
.photos-grid[data-count="6"] .photo-item {
    grid-column: span 2
}

.photos-grid[data-count="5"] .photo-item:nth-child(-n+3) {
    grid-column: span 2
}

.photos-grid[data-count="5"] .photo-item:nth-child(4),
.photos-grid[data-count="5"] .photo-item:nth-child(5) {
    grid-column: span 3
}

@media (max-width:768px) {
    .photos-grid {
        gap: 14px;
        padding: 6px
    }

    .photo-item {
        aspect-ratio: 1 / 1
    }
}

@media (max-width:480px) {
    .photos-grid {
        gap: 12px;
        padding: 8px
    }

    .photo-item {
        aspect-ratio: 1 / 1
    }
}

.post-quote-card {
    background: #fff;
    border: var(--border-dashed);
    border-radius: 0;
    padding: 16px;
    margin: 16px 0;
    transition: all .3s ease;
    cursor: pointer
}

.post-quote-card:hover {
    border-color: #333;
    background: #f8f9fa
}

.post-quote-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee
}

.post-quote-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85em;
    color: #666
}

.post-quote-category {
    color: #333;
    font-weight: 500;
    font-size: .85em
}

.post-quote-divider {
    color: #ccc
}

.post-quote-time {
    color: #888
}

.post-quote-body {
    margin-bottom: 12px
}

.post-quote-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.post-quote-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: .9em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.post-quote-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid #eee
}

.post-quote-stats {
    display: flex;
    gap: 12px;
    flex: 1;
    font-size: .8em;
    color: #777
}

.post-quote-stat {
    white-space: nowrap
}

.post-quote-link-btn {
    background: 0 0;
    color: #333;
    text-decoration: none;
    padding: 3px 12px;
    border: var(--border-dashed);
    font-size: 14px;
    transition: all .3s ease;
    white-space: nowrap
}

.post-quote-link-btn:hover {
    background-color: #909090;
    color: #fff;
    text-decoration: none
}

.post-quote-error {
    color: #666;
    font-size: .85em;
    text-align: center;
    padding: 16px;
    background: #f8f9fa;
    border: var(--border-dashed-light)
}

@media (max-width:768px) {
    .post-quote-card {
        padding: 12px;
        margin: 12px 0
    }

    .post-quote-header {
        margin-bottom: 10px;
        padding-bottom: 6px
    }

    .post-quote-meta {
        font-size: .8em;
        gap: 6px
    }

    .post-quote-title {
        font-size: 1em;
        margin-bottom: 6px
    }

    .post-quote-excerpt {
        font-size: .85em;
        -webkit-line-clamp: 3;
        line-clamp: 3
    }

    .post-quote-footer {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        padding-top: 6px
    }

    .post-quote-stats {
        justify-content: space-around;
        gap: 8px;
        font-size: .75em
    }

    .post-quote-link-btn {
        text-align: center;
        padding: 6px 12px;
        font-size: 13px
    }
}

@media (max-width:480px) {
    .post-quote-card {
        padding: 10px;
        margin: 10px 0
    }

    .post-quote-stats {
        gap: 6px;
        font-size: .7em
    }

    .post-quote-link-btn {
        padding: 5px 10px;
        font-size: 12px
    }
}

.animated-signature path {
    stroke-dasharray: 2400;
    stroke-dashoffset: 2400;
    fill: transparent;
    animation: drawSignature 8s linear infinite both;
    stroke-width: 2px;
    stroke: black
}

.animated-signature {
    width: 100%;
    max-width: 90px;
    display: flex;
    justify-content: flex-end;
    margin: 0 0 0 auto
}

@keyframes drawSignature {
    0% {
        stroke-dashoffset: 2400
    }

    15% {
        fill: transparent
    }

    35%,
    75% {
        stroke-dashoffset: 0;
        fill: black
    }

    90%,
    to {
        stroke-dashoffset: 2400;
        fill: transparent
    }
}

#comment-toggle-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 1em 0
}

.comment-info {
    flex: 1
}

.comment-count {
    font-variant-caps: all-small-caps;
    font-size: 14px;
    color: #666;
    font-weight: 400;
    letter-spacing: .5px
}

.comment-action {
    flex-shrink: 0
}

.comment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal)
}

.comment-overlay.active {
    opacity: 1;
    pointer-events: auto
}

.respond {
    background: var(--color-bg-primary);
    border: var(--border-dashed-input);
    padding: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.9);
    max-width: 700px;
    width: calc(100% - 40px);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
    will-change: transform, opacity
}

.respond.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1)
}

.respond.closing {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 30px)) scale(.95);
    pointer-events: none
}

.respond.closing>* {
    transform: scale(.98);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1)
}

.respond.closing .reply-info-wrapper {
    opacity: 0;
    transform: scale(.95);
    transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.comment-reply-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px
}

.cancel-comment-btn,
.cancel-reply-btn,
.reply-to-name {
    flex: 1;
    height: 1.875rem;
    box-sizing: border-box;
    border: var(--border-dashed-light);
    outline: 0;
    line-height: 1.875rem;
    font-size: .75rem;
    font-family: inherit;
    transition: var(--transition-normal);
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    background: #fafafa;
    padding: 0 .625rem;
    color: #656565;
    margin: 0
}

.cancel-comment-btn,
.cancel-reply-btn,
.emoji-btn {
    cursor: pointer
}

.emoji-btn {
    order: 1;
    flex: 1
}

.reply-to-name {
    order: 2;
    text-align: center
}

.reply-to-name strong {
    color: var(--color-text-primary);
    font-weight: 600
}

.cancel-reply-btn {
    order: 3
}

.cancel-comment-btn {
    order: 4;
    display: block
}

.cancel-reply-btn~.cancel-comment-btn {
    display: none
}

.cancel-comment-btn:hover,
.cancel-reply-btn:hover,
.emoji-btn:hover {
    border-color: #999;
    background: var(--color-bg-primary)
}

.comment-form-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px
}

.comment-form-fields {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1
}

.comment-form-fields .text {
    flex: 1;
    min-width: 0;
    height: 1.875rem;
    box-sizing: border-box;
    border: var(--border-dashed-light);
    outline: 0;
    line-height: 1.875rem;
    font-size: .75rem;
    font-family: inherit;
    transition: var(--transition-normal);
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    background: #fafafa;
    padding: 0 .625rem;
    color: #656565;
    margin: 0
}

.comment-form-fields .text:focus {
    border-color: #666;
    background: var(--color-bg-primary)
}

.comment-form-fields .text::placeholder {
    color: var(--color-text-tertiary)
}

.comment-form-bottom .submit {
    flex-shrink: 0;
    text-overflow: ellipsis;
    overflow: hidden
}

.comment-user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px
}

.comment-user-info span {
    font-size: .75rem;
    color: #656565
}

.comment-input-container {
    margin-bottom: 15px
}

.comment-editor {
    min-height: 120px;
    border: var(--border-dashed-light);
    padding: 12px;
    background: var(--color-bg-primary);
    font-size: 14px;
    line-height: 1.6;
    overflow-y: auto;
    max-height: 300px;
    word-wrap: break-word
}

.comment-editor:empty:before {
    content: attr(data-placeholder);
    color: var(--color-text-tertiary);
    pointer-events: none
}

.comment-editor:focus {
    outline: 0;
    border-color: #666;
    box-shadow: 0 0 0 2px rgba(102, 102, 102, .1)
}

.emoji-picker {
    background: var(--color-bg-primary);
    border: 2px dashed #ababab;
    width: 100%;
    max-width: 100%;
    max-height: 280px;
    z-index: 10000;
    animation: fadeInUp var(--transition-fast);
    position: relative
}

#memo-emoji-picker.emoji-picker {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.emoji-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    background: #f9f9f9
}

.emoji-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: 0 0;
    cursor: pointer;
    font-size: 13px;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast)
}

.emoji-tab:hover {
    background: #f0f0f0
}

.emoji-tab.active {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-weight: 500
}

.emoji-container {
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 5px
}

.emoji-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color .2s ease;
    border: none;
    background: 0 0;
    padding: 2px
}

.emoji-item:hover {
    background: #f0f0f0
}

.emoji-item img {
    max-width: 28px;
    max-height: 28px;
    object-fit: contain
}

.biaoqing,
.sticker {
    max-width: 24px;
    max-height: 24px;
    vertical-align: middle;
    margin: 0 2px
}

.comments-list {
    margin-top: 20px
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.comments-end-notice {
    text-align: center;
    padding: 30px 0 20px;
    color: #999;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 400
}

.comment-container {
    padding: 20px 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-start
}

.comment-parent {
    margin-bottom: 0;
    padding: 1em 0;
    border-bottom: 1px dashed transparent;
    background: linear-gradient(white, #fff) padding-box, repeating-linear-gradient(-45deg, #ccc 0, #ccc .25em, #fff 0, #fff .75em)
}

.comment-parent:last-child {
    border-bottom: none
}

.comment-child {
    border-bottom: none !important
}

.comment-children {
    width: 100%;
    margin-top: 15px;
    padding-left: 0
}

.comment-children .comment-container {
    padding: 15px 0;
    border-bottom: none !important
}

.avatar-box {
    position: relative;
    width: 35px;
    height: 35px;
    flex-shrink: 0
}

.avatar-box .avatar {
    width: 35px;
    height: 35px;
    border-radius: 0;
    object-fit: cover;
    border: var(--border-dashed-gray);
    display: block
}

a.comment-reply {
    position: absolute;
    top: 20px;
    right: 0;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color var(--transition-fast);
    padding: 2px 8px;
    border: 1px solid transparent;
    border-radius: 3px
}

a.comment-reply:hover {
    color: var(--color-text-primary);
    background: #f5f5f5;
    border-color: #e0e0e0
}

.comment-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3px 0;
    padding-right: 60px
}

.comment-author {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap
}

.comment-badge {
    background: #2e8bc0;
    color: #fff;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.2;
    display: inline-block
}

.comment-badge-icon {
    height: 18px;
    width: auto;
    vertical-align: middle;
    margin-left: 2px;
    display: inline-block
}

.comment-time {
    color: var(--color-text-tertiary);
    font-size: 12px;
    line-height: 1.4;
    cursor: help;
    transition: color var(--transition-fast);
    width: 100%
}

.comment-time:hover {
    color: var(--color-text-secondary)
}

.comment-text {
    width: 100%;
    color: var(--color-text-primary);
    line-height: 1.7;
    font-size: 14px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word
}

.comment-text p {
    margin: 0 0 10px 0;
    line-height: 1.7;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word
}

.comment-text p:last-child {
    margin-bottom: 0
}

.comment-text a {
    word-break: break-all;
    overflow-wrap: anywhere
}

.comment-reply-to {
    color: #0053c2;
    font-weight: 500;
    margin-right: 4px;
    display: inline
}

.reply-info-wrapper {
    margin-bottom: 12px
}

.reply-info {
    background: #fafafa;
    border: var(--border-dashed-light);
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.5
}

.reply-info-content {
    display: block
}

.reply-content {
    color: var(--color-text-secondary);
    font-size: 12px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word
}

.original-comment {
    color: #656565;
    font-weight: 400
}

.reply-info-content .biaoqing,
.reply-info-content .sticker {
    max-width: 20px;
    max-height: 20px;
    vertical-align: middle;
    margin: 0 2px
}

.comment-disabled {
    text-align: center;
    padding: 20px;
    color: #666
}

.site-statistics {
    margin-bottom: 40px;
    padding: 30px 0
}

.statistics-title {
    text-align: center;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #333;
    display: inline-block
}

.statistics-title h2 {
    font-size: 1.8em;
    color: #333;
    margin: 0 0 8px 0;
    font-weight: 600;
    text-align: left
}

.statistics-subtitle {
    font-size: .9em;
    color: #666;
    margin: 0;
    font-weight: 400;
    font-family: SM, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: left
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 20px
}

.stat-item {
    padding: 20px;
    text-align: center;
    transition: all .3s ease;
    position: relative;
    border-bottom: 2px solid transparent
}

.stat-item:hover {
    border-bottom-color: #333
}

.stat-icon {
    font-size: 2em;
    margin-bottom: 12px;
    display: block;
    line-height: 1
}

.stat-number {
    font-size: 2.2em;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    line-height: 1;
    font-family: SM, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif
}

.stat-label {
    font-size: .9em;
    color: #666;
    font-weight: 500;
    margin: 0
}

@media (max-width:768px) {
    .site-statistics {
        margin-bottom: 30px;
        padding: 20px 0
    }

    .statistics-title {
        padding-left: 12px
    }

    .statistics-title h2 {
        font-size: 1.5em
    }

    .statistics-subtitle {
        font-size: .8em
    }

    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px
    }

    .stat-item {
        padding: 16px
    }

    .stat-icon {
        font-size: 1.8em;
        margin-bottom: 10px
    }

    .stat-number {
        font-size: 1.8em
    }

    .stat-label {
        font-size: .85em
    }
}

@media (max-width:480px) {
    .site-statistics {
        padding: 16px 0;
        margin-bottom: 25px
    }

    .statistics-title {
        margin-bottom: 20px;
        padding-left: 10px
    }

    .statistics-title h2 {
        font-size: 1.3em
    }

    .statistics-grid {
        gap: 12px
    }

    .stat-item {
        padding: 14px
    }

    .stat-icon {
        font-size: 1.6em;
        margin-bottom: 8px
    }

    .stat-number {
        font-size: 1.6em
    }

    .stat-label {
        font-size: .8em
    }
}

.links-info-container {
    border: 2px dashed #ddd;
    padding: 10px;
    margin: 0
}

.links-info-desc {
    font-family: 'HarmonyOS Sans SC Medium', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #999;
    margin: 0
}

@media (max-width:768px) {
    .links-info-area {
        padding: 0 15px;
        margin-bottom: 40px
    }

    .links-info-desc {
        font-size: 13px;
        line-height: 1.7
    }
}

.rss-info-area {
    margin-bottom: 50px
}

.rss-info-container {
    border: 2px dashed #ddd;
    padding: 10px;
    margin: 0
}

.rss-info-desc {
    font-family: 'HarmonyOS Sans SC Medium', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #999;
    margin: 0
}

.links-page {
    margin-top: 30px;
    padding: 0
}

.links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px
}

.link-item {
    background: #fff;
    padding: .5em;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all .3s ease;
    border: var(--border-dashed-lighter)
}

.link-item:hover {
    transform: translateY(-3px);
    border-color: #ddd
}

.link-avatar {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    position: relative
}

.link-avatar img {
    border: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease
}

.link-item:hover .link-avatar img {
    transform: scale(1.05)
}

.link-avatar-default {
    background: linear-gradient(135deg, #667eea 0, #764ba2 100%) !important;
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important
}

.link-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.link-description {
    font-size: .9em;
    color: #666;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}

.links-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
    background: #f8f9fa;
    border-radius: 12px;
    border: var(--border-dashed-light)
}

.links-empty p {
    font-size: 1em;
    margin: 0 0 10px 0;
    line-height: 1.5
}

.links-empty p:last-child {
    margin-bottom: 0;
    font-size: .9em;
    color: #aaa
}

@media (max-width:768px) {
    .links-page {
        margin-top: 20px;
        padding: 0 15px
    }

    .links-container {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .link-item {
        padding: 16px;
        gap: 12px
    }

    .link-avatar {
        width: 50px;
        height: 50px;
        border-radius: 10px
    }

    .link-avatar-default {
        font-size: 20px !important
    }

    .link-title {
        font-size: 1em
    }

    .link-description {
        font-size: .85em;
        -webkit-line-clamp: 1;
        line-clamp: 1
    }

    .links-empty {
        padding: 40px 20px
    }
}

@media (max-width:480px) {
    .links-container {
        gap: 12px
    }

    .link-item {
        padding: 14px;
        gap: 10px
    }

    .link-avatar {
        width: 45px;
        height: 45px;
        border-radius: 8px
    }

    .link-avatar-default {
        font-size: 18px !important
    }

    .link-title {
        font-size: .95em
    }

    .link-description {
        font-size: .8em
    }
}

@media (max-width:768px) {
    #comment-toggle-area {
        padding: 15px 0
    }

    .respond {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: translateY(100%);
        padding: 15px;
        margin-bottom: 0;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, .1);
        z-index: 1000;
        max-height: 70vh;
        max-width: 100%;
        width: 100%;
        overflow-y: auto;
        transition: all .4s cubic-bezier(.4, 0, .2, 1)
    }

    .respond.active {
        transform: translateY(0)
    }

    .respond.closing {
        transform: translateY(100%);
        opacity: 0
    }

    .respond.closing>* {
        transform: translateY(20px);
        opacity: 0;
        transition: all .4s cubic-bezier(.4, 0, .2, 1)
    }

    .comment-overlay {
        display: none
    }

    .comment-container {
        gap: 12px
    }

    .avatar-box {
        width: 32px;
        height: 32px
    }

    .avatar-box .avatar {
        width: 32px;
        height: 32px
    }

    .comment-badge {
        font-size: 9px;
        padding: 1px 5px
    }

    .comment-badge-icon {
        height: 16px
    }

    a.comment-reply {
        font-size: 12px;
        padding: 2px 6px
    }

    .comment-info {
        padding-right: 55px
    }

    .comment-author {
        font-size: 13px;
        gap: 4px
    }

    .comment-time {
        font-size: 11px
    }

    .comment-text {
        font-size: 13px;
        margin-top: 6px
    }

    .comment-children {
        padding-left: 0;
        margin-top: 12px
    }

    .comment-children .comment-container {
        padding: 12px 0
    }
}

#memo-main-area {
    position: relative;
    margin-bottom: 20px;
    text-align: center
}

.memo-info-box {
    flex: 1;
    padding: 3px 15px;
    border: var(--border-dashed);
    background: 0 0;
    display: flex;
    align-items: center
}

.memo-info-text {
    font-size: 14px;
    color: #666;
    line-height: 1.4
}

#memo-toggle-area {
    position: relative;
    z-index: 2;
    flex-shrink: 0
}

.memo-action {
    flex-shrink: 0
}

.memo-btn {
    color: #333;
    border: var(--border-dashed);
    padding: 3px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color .3s ease;
    background-color: transparent;
    text-decoration: none;
    display: inline-block;
    border-radius: 0
}

.memo-btn:hover {
    background-color: #f0f0f0;
    color: #333
}

.memo-btn.active {
    color: #000
}

.memo-login-btn {
    color: #333;
    border: var(--border-dashed);
    padding: 3px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color .3s ease;
    background-color: transparent;
    text-decoration: none;
    display: inline-block;
    border-radius: 0
}

.memo-login-btn:hover {
    background-color: #f0f0f0;
    color: #333
}

.memo-respond {
    background: #fff;
    border: var(--border-dashed-dark);
    padding: 20px;
    margin-bottom: 30px;
    max-height: 0;
    overflow: visible;
    opacity: 0;
    transition: max-height .3s cubic-bezier(.4, 0, .2, 1), opacity .3s ease, padding .3s ease
}

.memo-respond.active {
    max-height: 600px;
    opacity: 1;
    padding: 20px
}

.memo-respond:not(.active) {
    padding: 0 20px
}

.memo-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0
}

.memo-author-details {
    flex: 1
}

.memo-author-time {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: 2px
}

.memo-input-container {
    margin-bottom: 15px
}

.memo-editor {
    min-height: 100px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    background: #fff;
    font-size: 14px;
    line-height: 1.6;
    overflow-y: auto;
    max-height: 300px;
    word-wrap: break-word
}

.memo-editor:empty:before {
    content: attr(data-placeholder);
    color: #999;
    pointer-events: none
}

.memo-editor:focus {
    outline: 0;
    border-color: #666;
    box-shadow: 0 0 0 2px rgba(102, 102, 102, .1)
}

.memo-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    margin-bottom: 10px
}

.memo-actions .emoji-btn,
.memo-submit,
.memo-upload-btn {
    flex: 1;
    color: #333;
    border: var(--border-dashed);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all .3s ease;
    background-color: transparent;
    text-decoration: none;
    display: inline-block;
    border-radius: 0;
    text-align: center
}

.memo-actions .emoji-btn:hover,
.memo-submit:hover,
.memo-upload-btn:hover {
    background-color: #f0f0f0;
    color: #333
}

.memo-image-preview {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee
}

.image-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.image-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ddd
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    transition: opacity .3s ease
}

.remove-image {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1
}

.remove-image:hover {
    background: rgba(0, 0, 0, .8)
}

.image-preview-item.uploading {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: var(--border-dashed-light)
}

.upload-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 12px
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite
}

.memos-list {
    margin: 20px 0
}

.memos-list .page-navigator {
    margin-top: 50px
}

.memo-list {
    display: flex;
    flex-direction: column;
    gap: 30px
}

.memo-item {
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 2px dashed transparent;
    background: linear-gradient(white, #fff) padding-box, repeating-linear-gradient(-45deg, #ccc 0, #ccc .25em, #fff 0, #fff .75em);
    position: relative
}

.memo-item:last-child {
    margin-bottom: 0;
    border-bottom: none !important
}

.memos-end-notice {
    text-align: center;
    padding: 30px 0 20px;
    color: #999;
    font-size: 12px;
    letter-spacing: 2px
}

.memo-header {
    display: flex;
    align-items: flex-start;
    gap: 15px
}

.memo-avatar {
    width: 40px;
    height: 40px;
    border: 1px solid #f3f3f3;
    padding: 2px
}

.memo-author-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px
}

.memo-author-name {
    font-size: 15px;
    color: #333;
    line-height: 1.3;
    display: block
}

.memo-time {
    font-size: 13px;
    color: #999;
    line-height: 1.3;
    display: block
}

.memo-content {
    color: #333;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 15px;
    margin-left: 55px;
    word-wrap: break-word
}

.memo-text {
    line-height: 1.7
}

.memo-full-content,
.memo-short-content {
    white-space: pre-wrap;
    word-break: break-word
}

.memo-expand-btn {
    color: #666;
    background: 0 0;
    border: none;
    cursor: pointer;
    font-size: 13px;
    margin-top: 8px;
    padding: 0;
    text-decoration: underline;
    transition: color .3s ease
}

.memo-expand-btn:hover {
    color: #333
}

.memo-content img:not(.biaoqing):not(.sticker) {
    display: none !important
}

.memo-content p {
    margin: 12px 0;
    line-height: 1.7
}

.memo-content p:last-child {
    margin-bottom: 0
}

.memo-content p img.biaoqing,
.memo-content p img.sticker {
    display: inline;
    margin: 0 2px;
    vertical-align: middle
}

.memo-content .emoji-inline {
    display: inline-flex;
    align-items: center;
    margin: 0 4px 0 0
}

.memo-content br {
    line-height: 1.7
}

.memo-content .biaoqing,
.memo-content .sticker {
    max-width: 24px;
    max-height: 24px;
    vertical-align: middle;
    margin: 0 2px
}

.memo-content div:not(.memo-photos-grid)>img:not(.biaoqing):not(.sticker),
.memo-content p>img:not(.biaoqing):not(.sticker),
.memo-content>img:not(.biaoqing):not(.sticker) {
    display: none !important
}

.memo-photos-grid {
    display: none !important
}

.memo-view-images-btn {
    display: inline-block;
    font-size: 13px;
    color: #666;
    background: 0 0;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    transition: all .2s ease;
    user-select: none
}

.memo-view-images-btn:hover {
    color: #333;
    text-decoration: underline
}

@media (max-width:768px) {
    .memo-view-images-btn {
        font-size: 12px
    }
}

#memo-editor .biaoqing,
#memo-editor .sticker,
.memo-editor .biaoqing,
.memo-editor .sticker {
    max-width: 24px;
    max-height: 24px;
    vertical-align: middle;
    margin: 0 2px;
    cursor: default
}

.memo-login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center
}

.login-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    cursor: pointer
}

.login-modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    animation: modalSlideIn .3s ease-out
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 15px;
    border-bottom: 1px solid #eee
}

.login-modal-header h3 {
    margin: 0;
    font-size: 1.3em;
    color: #333;
    font-weight: 600
}

.login-modal-close {
    background: 0 0;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .3s ease
}

.login-modal-close:hover {
    background: #f0f0f0;
    color: #666
}

.login-modal-body {
    padding: 25px
}

.login-field {
    margin-bottom: 20px
}

.login-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px
}

.login-field input[type=password],
.login-field input[type=text] {
    width: 100%;
    padding: 12px 15px;
    border: var(--border-dashed-light);
    border-radius: 0;
    font-size: 14px;
    transition: border-color .3s ease;
    background: #fff
}

.login-field input[type=password]:focus,
.login-field input[type=text]:focus {
    outline: 0;
    border-color: #999
}

.remember-field {
    margin-bottom: 25px
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666
}

.remember-label input[type=checkbox] {
    margin: 0
}

.login-actions {
    margin-bottom: 15px
}

.login-submit-btn {
    width: 100%;
    padding: 12px;
    background: 0 0;
    border: var(--border-dashed);
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .3s ease
}

.login-submit-btn:hover {
    background: #f0f0f0
}

.login-submit-btn:disabled {
    opacity: .6;
    cursor: not-allowed
}

.login-message {
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center
}

.login-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb
}

.login-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb
}

a.view-images-link {
    text-decoration: none;
    color: #6b6b6b
}

.no-memos {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    background: #f8f9fa;
    border-radius: 8px;
    border: var(--border-dashed-light)
}

.no-memos p {
    font-size: 16px;
    margin: 0
}

@media (max-width:768px) {
    #memo-main-area {
        margin-bottom: 15px;
        flex-direction: column;
        gap: 12px
    }

    .memo-info-box {
        width: 100%;
        padding: 3px 12px
    }

    .memo-info-text {
        font-size: 13px
    }

    #memo-toggle-area {
        width: 100%
    }

    .memo-respond {
        padding: 15px;
        margin-bottom: 20px
    }

    .memo-editor {
        min-height: 80px;
        padding: 10px;
        font-size: 13px
    }

    .memo-actions {
        flex-direction: row;
        align-items: stretch;
        gap: 8px;
        flex-wrap: nowrap
    }

    .memo-actions .emoji-btn,
    .memo-submit,
    .memo-upload-btn {
        padding: 6px 8px;
        font-size: 13px
    }

    .image-preview-list {
        gap: 8px
    }

    .image-preview-item {
        width: 80px;
        height: 80px
    }

    .memo-list {
        gap: 15px
    }

    .memo-item {
        padding: 15px 0;
        margin-bottom: 15px
    }

    .memo-avatar {
        width: 50px;
        height: 50px
    }

    .memo-time {
        font-size: 12px
    }

    .memo-content {
        font-size: 13px;
        margin-bottom: 12px;
        margin-left: 60px
    }

    .memo-text {
        line-height: 1.6
    }

    .memo-expand-btn {
        font-size: 12px;
        margin-top: 6px
    }

    .no-memos {
        padding: 40px 15px
    }

    .no-memos p {
        font-size: 14px
    }
}

@media (max-width:480px) {
    #memo-main-area {
        margin-bottom: 15px;
        flex-direction: column;
        gap: 10px
    }

    .memo-info-box {
        width: 100%;
        padding: 3px 10px
    }

    .memo-info-text {
        font-size: 12px
    }

    #memo-toggle-area {
        width: 100%
    }

    .login-modal-content {
        width: 95%;
        max-width: none;
        margin: 0 10px
    }

    .login-modal-header {
        padding: 15px 20px 10px
    }

    .login-modal-body {
        padding: 20px
    }

    .login-field input[type=password],
    .login-field input[type=text] {
        padding: 10px 12px;
        font-size: 16px
    }

    .memo-item {
        padding: 12px 0;
        margin-bottom: 12px
    }

    .memo-header {
        gap: 10px;
        padding-bottom: 10px
    }

    .memo-avatar {
        width: 45px;
        height: 45px
    }

    .memo-author-name {
        font-size: 14px
    }

    .memo-time {
        font-size: 11px
    }

    .memo-content {
        font-size: 12px;
        margin-left: 50px
    }

    .memo-expand-btn {
        font-size: 11px;
        margin-top: 4px
    }

    .image-preview-item {
        width: 70px;
        height: 70px
    }
}

.post-signature-wrapper {
    width: 100%;
    overflow-x: hidden
}

.signature-like-row {
    text-align: center;
    margin-top: 30px
}

.signature-bottom-row {
    text-align: right;
    position: relative;
    min-height: 70px;
    display: flex;
    justify-content: flex-end;
    align-items: center
}

.clickable-signature {
    cursor: pointer;
    transition: opacity .2s ease;
    position: relative;
    z-index: 2
}

.clickable-signature:hover {
    opacity: .7
}

.post-support-actions {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    display: flex;
    gap: 12px;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    white-space: nowrap;
    z-index: 1
}

.post-support-actions.expanded {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto
}

.support-item {
    padding: 6px 12px;
    background: 0 0;
    color: #666;
    cursor: pointer;
    transition: color .2s ease;
    font-size: 14px;
    user-select: none;
    white-space: nowrap;
    border: 2px dashed;
    line-height: 1;
    flex-shrink: 0
}

.support-item:hover {
    color: #467b96
}

@media (min-width:1200px) {
    .clickable-signature svg {
        width: 297.7px;
        height: auto
    }
}

@media (max-width:1024px) and (min-width:769px) {
    .signature-bottom-row {
        gap: 15px
    }

    .post-support-actions {
        gap: 10px
    }

    .support-item {
        padding: 5px 10px;
        font-size: 13px
    }

    .clickable-signature svg {
        width: 250px;
        height: auto
    }
}

@media (max-width:768px) {
    .signature-like-row {
        margin-bottom: 15px
    }

    .signature-bottom-row {
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        min-height: auto
    }

    .post-support-actions {
        position: static;
        transform: none;
        gap: 8px;
        justify-content: center;
        max-height: 0;
        overflow: hidden;
        transition: all .4s cubic-bezier(.4, 0, .2, 1)
    }

    .post-support-actions.expanded {
        transform: none;
        max-height: 100px;
        margin-bottom: 10px
    }

    .support-item {
        padding: 6px 10px;
        font-size: 12px
    }

    .clickable-signature svg {
        width: 200px;
        height: auto
    }
}

@media (max-width:480px) {
    .signature-like-row {
        margin-bottom: 12px
    }

    .signature-bottom-row {
        gap: 12px
    }

    .post-support-actions.expanded {
        transform: none;
        max-height: 120px
    }

    .support-item {
        padding: 8px 15px;
        font-size: 13px
    }

    .clickable-signature svg {
        width: 180px;
        height: auto
    }
}

@keyframes signatureShake {

    0%,
    100% {
        transform: translateX(0)
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-2px)
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(2px)
    }
}

.load-time {
    transition: opacity .3s ease
}

.load-time:hover {
    opacity: 1
}

@media (max-width:768px) {
    .load-time {
        font-size: 11px
    }
}

#noscript-warning {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #fff !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 999999 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: #333 !important;
    margin: 0 !important;
    padding: 0 !important
}

.no-js #container {
    display: none !important
}

#reply-info .reply-info-content {
    display: block
}

#reply-info .reply-content {
    display: block
}

#reply-info .original-comment {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

#reply-info .original-comment div,
#reply-info .original-comment p {
    display: inline;
    margin: 0;
    padding: 0
}

#reply-info .original-comment br {
    display: none
}

#reply-info .original-comment img {
    vertical-align: text-bottom;
    max-height: 1.2em
}

.page-content table,
.post-content table,
article table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    border-radius: 4px
}

.page-content,
.post-content,
article {
    overflow-x: auto
}

.page-content table thead,
.post-content table thead,
article table thead {
    background-color: #f8f9fa
}

.page-content table th,
.post-content table th,
article table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border: 1px solid #e5e7eb;
    background-color: #f8f9fa
}

.page-content table td,
.post-content table td,
article table td {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    color: #333;
    transition: background-color .2s ease
}

.page-content table tbody tr:hover,
.post-content table tbody tr:hover,
article table tbody tr:hover {
    background-color: #fafbfc
}

.page-content table tbody tr td:first-child,
.post-content table tbody tr td:first-child,
article table tbody tr td:first-child {
    font-weight: 500
}

@media screen and (max-width:768px) {

    .page-content table,
    .post-content table,
    article table {
        font-size: 13px
    }

    .page-content table td,
    .page-content table th,
    .post-content table td,
    .post-content table th,
    article table td,
    article table th {
        padding: 10px 12px
    }
}

@media screen and (max-width:480px) {

    .page-content table,
    .post-content table,
    article table {
        font-size: 12px
    }

    .page-content table td,
    .page-content table th,
    .post-content table td,
    .post-content table th,
    article table td,
    article table th {
        padding: 8px 10px
    }
}

.about-page {
    margin: 0 auto
}

.about-card {
    background: 0 0;
    border: var(--border-dashed-about);
    padding: clamp(15px, 2.5vw, 30px);
    margin-bottom: clamp(15px, 2.5vw, 30px);
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 35px)
}

.about-intro {
    color: #333
}

.about-title {
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 clamp(10px, 1.5vw, 20px) 0;
    color: #333
}

.about-desc {
    font-size: clamp(12px, 1.2vw, 14px);
    line-height: 1.8;
    color: #333;
    margin: 0 auto;
    max-width: 800px
}

.about-stats {
    width: 100%
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 2vw, 20px);
    width: 100%;
    max-width: 100%
}

.stat-box {
    background: 0 0;
    border: var(--border-dashed-about);
    padding: clamp(10px, 2vw, 25px) clamp(8px, 1.5vw, 20px);
    text-align: center;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.stat-box:hover {
    border-color: #555;
    transform: translateY(-5px)
}

.stat-value {
    font-size: clamp(20px, 3.8vw, 48px);
    font-weight: 700;
    color: #333;
    margin-bottom: clamp(3px, .6vw, 8px);
    line-height: 1
}

.stat-label {
    font-size: clamp(10px, 1.1vw, 14px);
    color: #666;
    margin: 0;
    white-space: nowrap
}

@media screen and (max-width:768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(8px, 2vw, 15px)
    }

    .about-desc {
        font-size: clamp(13px, 3.5vw, 15px)
    }
}

img.lazy-loaded {
    animation: fadeIn .3s ease
}

img.lazy-error {
    opacity: .3;
    background: #f5f5f5 center/contain no-repeat
}

.search-results {
    width: 100%;
    max-width: 800px;
    margin: 20px auto 0;
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.search-result-item {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background .2s ease
}

.search-result-item:last-child {
    border-bottom: none
}

.search-result-item:hover {
    background: #f8f8f8
}

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.search-result-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.search-result-meta {
    margin-top: 8px;
    font-size: 12px;
    color: #999
}

.search-result-meta span {
    margin-right: 15px
}

.search-no-results {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 14px
}

.search-loading {
    padding: 40px 20px;
    text-align: center;
    color: #666
}

.search-loading::after {
    content: '...';
    animation: dots 1.5s infinite
}

@keyframes dots {

    0%,
    20% {
        content: '.'
    }

    40% {
        content: '..'
    }

    100%,
    60% {
        content: '...'
    }
}

.search-highlight {
    background: #fff3cd;
    color: #856404;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 600
}

@media screen and (max-width:768px) {
    .search-modal-content {
        width: 95%;
        max-width: 500px
    }

    .search-modal-box {
        padding: 15px
    }

    .search-modal-input {
        height: 46px;
        padding: 0 15px;
        font-size: 15px
    }

    .search-modal-submit {
        width: 46px;
        height: 46px;
        font-size: 18px
    }
}

@media screen and (max-width:480px) {
    .search-modal-overlay {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px)
    }

    .search-modal-content {
        width: 90%
    }

    .search-modal-box {
        padding: 12px;
        border-radius: 6px
    }

    .search-modal-form {
        gap: 8px
    }

    .search-modal-input {
        height: 44px;
        padding: 0 12px;
        font-size: 14px
    }

    .search-modal-submit {
        width: 44px;
        height: 44px;
        font-size: 16px
    }
}

.post-like-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    min-width: 60px;
    height: 30px;
    background: #fff;
    border: 2px solid #333;
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    user-select: none;
    position: relative;
    font-size: 14px;
    font-weight: 500
}

.post-like-btn:hover {
    transform: scale(1.05);
    border-color: #000
}

.post-like-btn .like-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    transition: all var(--transition-normal);
    background-color: #333;
    -webkit-mask: url('../img/like.svg') center/contain no-repeat;
    mask: url('../img/like.svg') center/contain no-repeat;
    flex-shrink: 0
}

.post-like-btn .like-count {
    color: #333;
    line-height: 1;
    transition: all var(--transition-normal)
}

.post-like-btn:hover .like-icon {
    background-color: #000
}

.post-like-btn:hover .like-count {
    color: #000
}

.post-like-btn.liked {
    background: #000;
    border-color: #000
}

.post-like-btn.liked .like-icon {
    background-color: #fff;
    animation: likeAnimation .5s ease
}

.post-like-btn.liked .like-count {
    color: #fff
}

@keyframes likeAnimation {

    0%,
    100% {
        transform: scale(1)
    }

    25% {
        transform: scale(1.3) rotate(-10deg)
    }

    50% {
        transform: scale(1.2) rotate(10deg)
    }

    75% {
        transform: scale(1.3) rotate(-5deg)
    }
}

.comment-like-btn {
    display: inline-flex;
    align-items: center;
    background: 0 0;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    user-select: none;
    vertical-align: middle
}

.comment-like-btn:hover {
    transform: scale(1.1)
}

.comment-like-btn .like-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    transition: all var(--transition-normal);
    background-color: #ebebeb;
    -webkit-mask: url('../img/links.png') center/contain no-repeat;
    mask: url('../img/links.png') center/contain no-repeat
}

.comment-like-btn:hover .like-icon {
    transform: scale(1.15);
    background-color: #666
}

.comment-like-btn.liked .like-icon {
    background-color: #ff6b6b;
    animation: likeAnimation .5s ease
}

.comment-like-btn {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-secondary);
    min-width: 12px;
    text-align: center
}

@media screen and (max-width:768px) {
    .post-like-btn {
        padding: 6px 12px;
        min-width: 70px;
        height: 36px;
        gap: 4px;
        font-size: 13px
    }

    .post-like-btn .like-icon {
        width: 18px;
        height: 18px
    }
}

.comment-like-btn.loading,
.post-like-btn.loading {
    pointer-events: none;
    opacity: .6
}

.comment-like-btn.loading .like-icon,
.post-like-btn.loading .like-icon {
    animation: rotating 1s linear infinite
}

@keyframes rotating {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

.mr-info-container {
    display: flex;
    flex-direction: column;
    margin: 0
}

.mr-info-desc {
    font-family: 'HarmonyOS Sans SC Medium', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #999;
    margin: 0;
    padding: 10px
}

.mr-about-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #d0e0d5;
    color: #494949;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all var(--transition-normal);
    align-self: center
}

.mr-about-btn:hover {
    background: #86d19d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15)
}

@media (max-width:768px) {
    .header-container {
        padding: 20px 20px
    }

    .site-logo {
        height: 30px
    }

    .top-nav {
        gap: 16px
    }

    .top-nav .nav-link {
        font-size: 13px
    }

    .menu-grid {
        gap: 30px 40px;
        padding: 30px 0
    }

    .menu-item {
        font-size: 18px
    }

    #breadcrumb-nav {
        padding: 0 20px
    }

    .breadcrumb-content {
        padding: 10px 0
    }

    .breadcrumb-left {
        gap: 6px;
        font-size: 13px;
        flex: 1;
        overflow: hidden
    }

    .breadcrumb-title {
        max-width: 180px
    }

    .nav-search-btn {
        padding: 6px;
        font-size: 16px
    }

    .search-drawer-content {
        padding: 12px 20px
    }

    .search-drawer-input {
        padding: 8px 12px;
        font-size: 14px
    }

    .search-drawer-submit {
        padding: 8px 15px;
        font-size: 14px
    }
}

.justify-end {
    justify-content: flex-end
}

.grid {
    display: grid;
    gap: 1rem
}

.gap-4 {
    gap: 1rem
}

.gap-7 {
    gap: 1.75rem
}

.flex {
    display: flex
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr))
}

.items-center {
    align-items: center
}

@media (min-width: 768px) {
    .grid-cols-1{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.section-divider {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
    margin: 0;
}
.section-divider .divider-pattern {
    height: 6px;
    width: 100%;
    background: repeating-linear-gradient(-45deg, var(--color-border), var(--color-border) 1px, transparent 1px, transparent 6px);
    opacity: .6;
}
.section-divider:last-child {
    display: none
}
.section-divider:last-child .divider-pattern {
    height: 0;
    width: 0;
    background: none;
    opacity: 0;
}